]> git.ipfire.org Git - ipfire.org.git/blame - templates/modules/planet-entry.html
Massive web site update
[ipfire.org.git] / templates / modules / planet-entry.html
CommitLineData
60b0917c
MT
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 %}
940227cb 8
60b0917c
MT
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 %}
d88b8f41 14
60b0917c
MT
15 <h3>
16 <a href="/post/{{ entry.slug }}">{{ entry.title }}</a>
d88b8f41 17
60b0917c 18 <br>
60024cc8 19
60b0917c
MT
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>
60024cc8 25
60b0917c
MT
26 {% raw entry.text %}
27</section>