aboutsummaryrefslogtreecommitdiffstats
path: root/backdrop/templates/authors.html
diff options
context:
space:
mode:
authorChris MacMackin <cmacmackin@gmail.com>2015-05-14 23:00:11 -0300
committerChris MacMackin <cmacmackin@gmail.com>2015-05-14 23:00:11 -0300
commitfb7081b1bf01032bf75ff22b559e9d15e697a9fb (patch)
tree7858d773faf51a3f57bc6ab034a5853be8f3faff /backdrop/templates/authors.html
parentc31fb657b54696e9426249bdee5dcd111ec1ec40 (diff)
downloadpelican-themes-fb7081b1bf01032bf75ff22b559e9d15e697a9fb.tar.gz
Added the Backdrop theme.
Diffstat (limited to 'backdrop/templates/authors.html')
-rw-r--r--backdrop/templates/authors.html23
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&hellip;</a>
+ {% endif %}
+ {% endfor %}
+ {% if not loop.last %}
+ <hr>
+ {% endif %}
+ {% endfor %}
+ </div>
+</div>
+{% endblock content %}