]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blob - templates/modules/planet-entry.html
Massive web site update
[people/shoehn/ipfire.org.git] / templates / modules / planet-entry.html
1 <section id="{{ entry.slug }}" class="container content-section">
2 {% if entry.is_draft() %}
3 <div class="alert alert-info alert-dismissable">
4 <button type="button" class="close" data-dismiss="alert">&times;</button>
5 <strong>{{ _("Heads up!") }}</strong> {{ _("This post is a draft and has not been published, yet.") }}
6 </div>
7 {% end %}
8
9 {% if show_avatar %}
10 <a class="pull-right" href="/user/{{ entry.author.uid }}">
11 <img class="img-rounded img-padding" src="{{ entry.author.gravatar_icon(128) }}" alt="{{ entry.author.name }}" />
12 </a>
13 {% end %}
14
15 <h3>
16 <a href="/post/{{ entry.slug }}">{{ entry.title }}</a>
17
18 <br>
19
20 <small>
21 {{ _("by") }} <a href="/user/{{ entry.author.uid }}">{{ entry.author.name }}</a>,
22 {{ locale.format_date(entry.published, shorter=True) }}
23 </small>
24 </h3>
25
26 {% raw entry.text %}
27 </section>