blob: 52895ea37bd719a5331db59209819eed16ecfaf0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 %}
|