diff --git a/layouts/_article.html b/layouts/_article.html new file mode 100644 index 0000000..72bf4d4 --- /dev/null +++ b/layouts/_article.html @@ -0,0 +1,12 @@ +<% post_date = WezM::Helpers.post_date(@article) %> +
  • + + <%= post_date.day %> + <%= post_date.strftime('%b') %> + <%= post_date.year %> + +

    + <%= @article[:title] %> + <%= @item[:summary] %> +

    +
  • diff --git a/layouts/footer.yaml b/layouts/_article.yaml similarity index 100% rename from layouts/footer.yaml rename to layouts/_article.yaml diff --git a/layouts/footer.html b/layouts/_footer.html similarity index 100% rename from layouts/footer.html rename to layouts/_footer.html diff --git a/layouts/head_common.yaml b/layouts/_footer.yaml similarity index 100% rename from layouts/head_common.yaml rename to layouts/_footer.yaml diff --git a/layouts/head_common.html b/layouts/_head.html similarity index 100% rename from layouts/head_common.html rename to layouts/_head.html diff --git a/layouts/header.yaml b/layouts/_head.yaml similarity index 100% rename from layouts/header.yaml rename to layouts/_head.yaml diff --git a/layouts/header.html b/layouts/_header.html similarity index 100% rename from layouts/header.html rename to layouts/_header.html diff --git a/layouts/listing.yaml b/layouts/_header.yaml similarity index 100% rename from layouts/listing.yaml rename to layouts/_header.yaml diff --git a/layouts/listing.html b/layouts/_listing.html similarity index 98% rename from layouts/listing.html rename to layouts/_listing.html index 77e1d97..94125b0 100644 --- a/layouts/listing.html +++ b/layouts/_listing.html @@ -13,7 +13,7 @@ - <%= render 'header' %> + <%= render '_header' %>

    Geeky @@ -85,6 +85,6 @@ | Older »

    - <%= render 'footer' %> + <%= render '_footer' %> diff --git a/layouts/_listing.yaml b/layouts/_listing.yaml new file mode 100644 index 0000000..20670d5 --- /dev/null +++ b/layouts/_listing.yaml @@ -0,0 +1,2 @@ +--- {} +