diff options
author | SkyArrow <tommy351@gmail.com> | 2012-01-24 14:53:22 +0100 |
---|---|---|
committer | SkyArrow <tommy351@gmail.com> | 2012-01-24 14:53:22 +0100 |
commit | 1c574d24b7fdd482499fa9553c19342b6a4d391e (patch) | |
tree | 3381ce235c72044d6fa76243e9d6948c737a6e4f /source/blog/archives | |
download | octopress-theme-jeyzu-1c574d24b7fdd482499fa9553c19342b6a4d391e.zip octopress-theme-jeyzu-1c574d24b7fdd482499fa9553c19342b6a4d391e.tar.gz |
created
Diffstat (limited to 'source/blog/archives')
-rw-r--r-- | source/blog/archives/index.html | 18 |
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> |