aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/blog
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-07-01 17:13:21 -0400
committerBrandon Mathis <brandon@imathis.com>2011-07-01 17:13:21 -0400
commitb9ad060b5d5d2df594a497633b4c3bf8fa9ebf66 (patch)
tree1ba8836bb229f17dbe1a2fb4ef358b0652fbb1f2 /.themes/classic/source/blog
parentea349cdfbfa4d42110099e49a8ff23f7213cd5b6 (diff)
downloadmy_new_personal_website-b9ad060b5d5d2df594a497633b4c3bf8fa9ebf66.tar.xz
my_new_personal_website-b9ad060b5d5d2df594a497633b4c3bf8fa9ebf66.zip
1. Updated config so blog categories get ouput to /blog/categories
2. Increased default pagination to 10 posts per page 3. Explained email address for RSS feed better
Diffstat (limited to '.themes/classic/source/blog')
-rw-r--r--.themes/classic/source/blog/archives.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/.themes/classic/source/blog/archives.html b/.themes/classic/source/blog/archives.html
new file mode 100644
index 00000000..ebf447c9
--- /dev/null
+++ b/.themes/classic/source/blog/archives.html
@@ -0,0 +1,17 @@
+---
+layout: post
+title: Blog Archive
+no_meta: true
+---
+<div class="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>