aboutsummaryrefslogtreecommitdiffstats
path: root/foundation-default-colours/templates/archives.html
diff options
context:
space:
mode:
authorJustin Mayer <entroP@gmail.com>2014-01-27 09:55:49 -0800
committerJustin Mayer <entroP@gmail.com>2014-01-27 09:55:49 -0800
commitc35cbabcaf4807b9474203a2fbd809883b08ad50 (patch)
tree8cf56c29445167a9f09968cae3ff60ee2777ccdd /foundation-default-colours/templates/archives.html
parente05a5db62451233729123a1c50e75290042c5ae2 (diff)
parent488efa23deb42f7425378595cc5af03f58803fa3 (diff)
downloadpelican-themes-c35cbabcaf4807b9474203a2fbd809883b08ad50.tar.gz
Merge pull request #186 from FuzzyWuzzie/master
Add theme based on Zurb Foundation 5.0.1
Diffstat (limited to 'foundation-default-colours/templates/archives.html')
-rw-r--r--foundation-default-colours/templates/archives.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/foundation-default-colours/templates/archives.html b/foundation-default-colours/templates/archives.html
new file mode 100644
index 0000000..3268c62
--- /dev/null
+++ b/foundation-default-colours/templates/archives.html
@@ -0,0 +1,29 @@
+{% extends "base.html" %}
+
+{% block content %}
+ <div class="row">
+ <div class="small-10 columns small-centered">
+ {% for year, date_year in dates|groupby( 'date.year' )|sort(reverse=True) %}
+ <div class="row archive-year">
+ <div class="small-2 columns text-right">
+ <h3>{{ year }}</h3>
+ </div>
+ </div>
+ {% for month, articles in date_year|groupby('date.month') %}
+ {% for article in articles %}
+ <div class="row archive-entry">
+ <div class="small-2 columns text-right">
+ <h5>{{ article.date.strftime('%b %d') }}</h5>
+ </div>
+ <div class="small-10 columns">
+ <h5><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h5>
+ </div>
+ </div>
+ {% endfor %}
+ {% endfor %}
+ {% endfor %}
+ </div>
+ </div>
+{% endblock %}
+
+{% set pagetitle = 'Archives' %}