diff options
Diffstat (limited to 'source/_layouts')
-rw-r--r-- | source/_layouts/category_index.html | 15 | ||||
-rw-r--r-- | source/_layouts/default.html | 4 |
2 files changed, 5 insertions, 14 deletions
diff --git a/source/_layouts/category_index.html b/source/_layouts/category_index.html index 7e64ebe..0c16ef3 100644 --- a/source/_layouts/category_index.html +++ b/source/_layouts/category_index.html @@ -2,15 +2,6 @@ layout: default --- -{% for post in site.categories[page.category] %} -<section class="archive"> - {% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %} - {% unless year == this_year %} - {% assign year = this_year %} - <h1 class="archive-title">{{ year }}</h1> - {% endunless %} - <article class="archive"> - {% include archive_post.html %} - </article> -</section> -{% endfor %} +{% for post in site.posts reverse %} + {% include archive_post.html %} +{% endfor %}
\ No newline at end of file diff --git a/source/_layouts/default.html b/source/_layouts/default.html index ad02643..70d04d1 100644 --- a/source/_layouts/default.html +++ b/source/_layouts/default.html @@ -2,10 +2,10 @@ {% include head.html %} <body> - <header class="inner">{% include header.html %}</header> + <header id="header" class="inner">{% include header.html %}</header> {% include banner.html %} <div id="content" class="inner">{{ content | expand_urls: root_url }}</div> - <footer class="inner">{% include footer.html %}</footer> + <footer id="footer" class="inner">{% include footer.html %}</footer> {% include after_footer.html %} </body> </html>
\ No newline at end of file |