]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blame - templates/planet/hottest.html
Bootstap migration talk.ipfire.org
[people/shoehn/ipfire.org.git] / templates / planet / hottest.html
CommitLineData
d88b8f41
MT
1{% extends "base.html" %}
2
3{% block title %}{{ _("Hottest posts") }}{% end block %}
4
60b0917c 5{% block container %}
1e5f513f
SH
6<div class="container features-content">
7 <h2 class="display-2 text-center">{{ _("The hottest posts of the last month") }}</h2>
60b0917c
MT
8
9 <section class="container">
10 <dl>
11 {% for entry in entries %}
12 <dt>
13 <img class="img-responsive img-rounded pull-right" src="{{ entry.author.gravatar_icon(64) }}" alt="{{ entry.author.name }}" />
14 <h4><a href="/post/{{ entry.slug }}">{{ entry.title }}</a></h4>
15 </dt>
16 <dd>
17 {{ _("by") }} <a href="/user/{{ entry.author.uid }}">{{ entry.author.name }}</a>,
18 {{ locale.format_date(entry.published, relative=True, shorter=True) }}
19 </dd>
20
21 <br>
22 {% end %}
23 </dl>
24 </section>
1e5f513f 25</div>
d88b8f41 26{% end block %}