summaryrefslogtreecommitdiffstats
path: root/source/blog/archives
diff options
context:
space:
mode:
authorSkyArrow <tommy351@gmail.com>2012-01-24 18:19:10 +0100
committerSkyArrow <tommy351@gmail.com>2012-01-24 18:19:10 +0100
commitcaeed23e766705eecae7ef17a534213c0f87fdd6 (patch)
treee002f70de3b4a3c31d798f36af0b8e0598b185f1 /source/blog/archives
parent0a7ff46da7d7352373dc74c2839233e34e232aec (diff)
downloadoctopress-theme-jeyzu-caeed23e766705eecae7ef17a534213c0f87fdd6.zip
octopress-theme-jeyzu-caeed23e766705eecae7ef17a534213c0f87fdd6.tar.gz
archive, category
Diffstat (limited to 'source/blog/archives')
-rw-r--r--source/blog/archives/index.html27
1 files changed, 13 insertions, 14 deletions
diff --git a/source/blog/archives/index.html b/source/blog/archives/index.html
index f1d9cee..043e163 100644
--- a/source/blog/archives/index.html
+++ b/source/blog/archives/index.html
@@ -1,18 +1,17 @@
---
-layout: page
-title: Blog Archive
-footer: false
+layout: default
+title: 文章彙整
---
-<div id="blog-archives">
{% for post in site.posts reverse %}
-{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
-{% unless year == this_year %}
- {% assign year = this_year %}
- <h2>{{ year }}</h2>
-{% endunless %}
-<article>
- {% include archive_post.html %}
-</article>
-{% endfor %}
-</div>
+<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 %} \ No newline at end of file