]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blobdiff - templates/planet/hottest.html
Massive web site update
[people/shoehn/ipfire.org.git] / templates / planet / hottest.html
index 7f1a04485e839438a5a94e8d3aecd6c0140907a4..ae0004ecc5d951a64dbccc6b9d754154fc2bf0ce 100644 (file)
@@ -2,22 +2,25 @@
 
 {% block title %}{{ _("Hottest posts") }}{% end block %}
 
-{% block body %}
-       <div class="row">
-               <div class="col-md-8 col-md-offset-2">
-                       <h3>{{ _("The hottest posts of the last month") }}</h3>
-                       
-                       <dl>
-                               {% for entry in entries %}
-                                       <dt><a href="/post/{{ entry.slug }}">{{ entry.title }}</a></dt>
-                                       <dd>
-                                               {{ _("by") }} <a href="/user/{{ entry.author.uid }}">{{ entry.author.name }}</a>
-                                               <span class="pull-right">{{ locale.format_date(entry.published, relative=True, shorter=True) }}</span>
-                                       </dd>
-
-                                       <br>
-                               {% end %}
-                       </dl>
-               </div>
+{% block container %}
+       <div class="container page-header">
+               <h1>{{ _("The hottest posts of the last month") }}</h1>
        </div>
+
+       <section class="container">
+               <dl>
+                       {% for entry in entries %}
+                               <dt>
+                                       <img class="img-responsive img-rounded pull-right" src="{{ entry.author.gravatar_icon(64) }}" alt="{{ entry.author.name }}" />
+                                       <h4><a href="/post/{{ entry.slug }}">{{ entry.title }}</a></h4>
+                               </dt>
+                               <dd>
+                                       {{ _("by") }} <a href="/user/{{ entry.author.uid }}">{{ entry.author.name }}</a>,
+                                       {{ locale.format_date(entry.published, relative=True, shorter=True) }}
+                               </dd>
+
+                               <br>
+                       {% end %}
+               </dl>
+       </section>
 {% end block %}