summaryrefslogtreecommitdiffstats
path: root/source/blog
diff options
context:
space:
mode:
authorSkyArrow <tommy351@gmail.com>2012-01-24 14:53:22 +0100
committerSkyArrow <tommy351@gmail.com>2012-01-24 14:53:22 +0100
commit1c574d24b7fdd482499fa9553c19342b6a4d391e (patch)
tree3381ce235c72044d6fa76243e9d6948c737a6e4f /source/blog
downloadoctopress-theme-jeyzu-1c574d24b7fdd482499fa9553c19342b6a4d391e.zip
octopress-theme-jeyzu-1c574d24b7fdd482499fa9553c19342b6a4d391e.tar.gz
created
Diffstat (limited to 'source/blog')
-rw-r--r--source/blog/archives/index.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/source/blog/archives/index.html b/source/blog/archives/index.html
new file mode 100644
index 0000000..f1d9cee
--- /dev/null
+++ b/source/blog/archives/index.html
@@ -0,0 +1,18 @@
+---
+layout: page
+title: Blog Archive
+footer: false
+---
+
+<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>