aboutsummaryrefslogtreecommitdiff
path: root/themes/classic/source/archive.html
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-06-07 16:12:46 -0400
committerBrandon Mathis <brandon@imathis.com>2011-06-07 16:12:46 -0400
commitaa230616241321ca9c4b8f4202d045c829527618 (patch)
treea3421f7253257f8644ff9adb956af3575a4eec9d /themes/classic/source/archive.html
parent6cba2145136309d2ac5202853b554f0471a67bf0 (diff)
downloadmy_new_personal_website-aa230616241321ca9c4b8f4202d045c829527618.tar.xz
my_new_personal_website-aa230616241321ca9c4b8f4202d045c829527618.zip
Added themes directory, improved javascript load and minification.
Diffstat (limited to '')
-rw-r--r--themes/classic/source/archive.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/themes/classic/source/archive.html b/themes/classic/source/archive.html
new file mode 100644
index 00000000..98518aa5
--- /dev/null
+++ b/themes/classic/source/archive.html
@@ -0,0 +1,24 @@
+---
+layout: page
+title: Blog Archive
+nometa: true
+---
+{% for post in site.posts reverse %}
+ {% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
+ {% capture this_month %}{{ post.date | date: "%B" }}{% endcapture %}
+ {% unless year == this_year %}
+ {% unless forloop.first %}</ul>{% endunless %}
+ {% assign year = this_year %}
+ <h2>{{ year }}</h2>
+ <ul class="blog_archives">
+ {% endunless %}
+ {% unless month == this_month %}
+ {% assign month = this_month %}
+ <li><h4>{{ month }}</h4></li>
+ {% endunless %}
+ <li>
+ <time datetime="{{ post.date | datetime }}" pubdate>{{ post.date | date: "%d"}}</time>
+ <a href="{{ post.url }}">{{post.title}}</a>
+ </li>
+ {% if forloop.last %}</ul>{% endif %}
+{% endfor %}