diff options
author | Chris MacMackin <cmacmackin@gmail.com> | 2015-05-14 23:00:11 -0300 |
---|---|---|
committer | Chris MacMackin <cmacmackin@gmail.com> | 2015-05-14 23:00:11 -0300 |
commit | fb7081b1bf01032bf75ff22b559e9d15e697a9fb (patch) | |
tree | 7858d773faf51a3f57bc6ab034a5853be8f3faff /backdrop/templates/authors.html | |
parent | c31fb657b54696e9426249bdee5dcd111ec1ec40 (diff) | |
download | pelican-themes-fb7081b1bf01032bf75ff22b559e9d15e697a9fb.tar.gz |
Added the Backdrop theme.
Diffstat (limited to 'backdrop/templates/authors.html')
-rw-r--r-- | backdrop/templates/authors.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/backdrop/templates/authors.html b/backdrop/templates/authors.html new file mode 100644 index 0000000..52895ea --- /dev/null +++ b/backdrop/templates/authors.html @@ -0,0 +1,23 @@ +{% extends "base.html" %} +{% block title %}Authors{%endblock%} + +{% block content %} +{% import 'macros.html' as macros %} +<div class="row"> + <div class="small-12 columns article"> + {% for author, articles in authors|sort %} + <h2><a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a></h2> + {% for a in articles %} + {% if loop.index < 4 %} + {{ macros.article_summary(a,SITEURL,False,False,disqus=DISQUS_SITENAME) }} + {% elif loop.index == 4 %} + <a class="button" href="{{ SITEURL }}/{{ author.url }}">See All…</a> + {% endif %} + {% endfor %} + {% if not loop.last %} + <hr> + {% endif %} + {% endfor %} + </div> +</div> +{% endblock content %} |