]> git.ipfire.org Git - ipfire.org.git/blob - templates/planet/posting.html
planet: Slight face-lift and add hottest posts
[ipfire.org.git] / templates / planet / posting.html
1 {% extends "../base.html" %}
2
3 {% block title %}{{ entry.title }}{% end block %}
4
5 {% block body %}
6 <div class="page-header">
7 <h1>
8 <a href="/post/{{ entry.slug }}">{{ entry.title }}</a>
9
10 <br>
11
12 <small>
13 {{ _("by") }} <a href="/user/{{ entry.author.uid }}">{{ entry.author.name }}</a>,
14 {{ locale.format_date(entry.published, shorter=True) }}
15 </small>
16 </h1>
17 </div>
18
19 {% if entry.is_draft() %}
20 <div class="alert alert-warning alert-dismissable">
21 <button type="button" class="close" data-dismiss="alert">&times;</button>
22 <strong>{{ _("Heads up!") }}</strong> {{ _("This post is a draft and has not been published, yet.") }}
23 </div>
24 {% end %}
25
26 {% module PlanetAuthorBox(entry.author) %}
27
28 {% raw entry.text %}
29 {% end block %}