-{% if show_avatar %}
- <a class="pull-right" href="/user/{{ entry.author.uid }}">
- <img class="img-rounded img-padding" src="{{ entry.author.gravatar_icon(128) }}" alt="{{ entry.author.name }}" />
- </a>
-{% end %}
+<section id="{{ entry.slug }}" class="container content-section">
+ {% if entry.is_draft() %}
+ <div class="alert alert-info alert-dismissable">
+ <button type="button" class="close" data-dismiss="alert">×</button>
+ <strong>{{ _("Heads up!") }}</strong> {{ _("This post is a draft and has not been published, yet.") }}
+ </div>
+ {% end %}
-<h2>
- <a href="/post/{{ entry.slug }}">{{ entry.title }}</a>
+ {% if show_avatar %}
+ <a class="pull-right" href="/user/{{ entry.author.uid }}">
+ <img class="img-rounded img-padding" src="{{ entry.author.gravatar_icon(128) }}" alt="{{ entry.author.name }}" />
+ </a>
+ {% end %}
- <br>
+ <h3>
+ <a href="/post/{{ entry.slug }}">{{ entry.title }}</a>
- <small>
- {{ _("by") }} <a href="/user/{{ entry.author.uid }}">{{ entry.author.name }}</a>,
- {{ locale.format_date(entry.published, shorter=True) }}
- </small>
-</h2>
+ <br>
-{% raw entry.text %}
+ <small>
+ {{ _("by") }} <a href="/user/{{ entry.author.uid }}">{{ entry.author.name }}</a>,
+ {{ locale.format_date(entry.published, shorter=True) }}
+ </small>
+ </h3>
-<hr class="separator clear">
+ {% raw entry.text %}
+</section>