]>
Commit | Line | Data |
---|---|---|
d88b8f41 MT |
1 | {% extends "base.html" %} |
2 | ||
3 | {% block title %}{{ _("Hottest posts") }}{% end block %} | |
4 | ||
5 | {% block body %} | |
6 | <div class="row"> | |
7 | <div class="col-md-8 col-md-offset-2"> | |
8 | <h3>{{ _("The hottest posts of the last month") }}</h3> | |
9 | ||
10 | <dl> | |
11 | {% for entry in entries %} | |
12 | <dt><a href="/post/{{ entry.slug }}">{{ entry.title }}</a></dt> | |
13 | <dd> | |
14 | {{ _("by") }} <a href="/user/{{ entry.author.uid }}">{{ entry.author.name }}</a> | |
15 | <span class="pull-right">{{ locale.format_date(entry.published, relative=True, shorter=True) }}</span> | |
16 | </dd> | |
17 | ||
18 | <br> | |
19 | {% end %} | |
20 | </dl> | |
21 | </div> | |
22 | </div> | |
23 | {% end block %} |