diff options
author | Kenton Hamaluik <kenton@hamaluik.com> | 2014-01-22 13:20:50 -0700 |
---|---|---|
committer | Kenton Hamaluik <kenton@hamaluik.com> | 2014-01-22 13:20:50 -0700 |
commit | abf580866624bfeec53d948894ba02fe4ee307fd (patch) | |
tree | 293847ec012f51ffb01cce3de0fd2a198f5943a5 /foundation-default-colours/templates/archives.html | |
parent | 6b057e4f9bb931e2db52c49a84bbe457f9f3910e (diff) | |
download | pelican-themes-abf580866624bfeec53d948894ba02fe4ee307fd.tar.gz |
Added Zurb Foundation 5.0.1 theme.
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' %} |