diff options
author | Justin Mayer <entroP@gmail.com> | 2014-01-27 09:55:49 -0800 |
---|---|---|
committer | Justin Mayer <entroP@gmail.com> | 2014-01-27 09:55:49 -0800 |
commit | c35cbabcaf4807b9474203a2fbd809883b08ad50 (patch) | |
tree | 8cf56c29445167a9f09968cae3ff60ee2777ccdd /foundation-default-colours/templates/archives.html | |
parent | e05a5db62451233729123a1c50e75290042c5ae2 (diff) | |
parent | 488efa23deb42f7425378595cc5af03f58803fa3 (diff) | |
download | pelican-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.html | 29 |
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' %} |