summaryrefslogtreecommitdiffstatshomepage
path: root/templates/macros.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/macros.html')
-rw-r--r--templates/macros.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/macros.html b/templates/macros.html
index 9f0f792..354eb6e 100644
--- a/templates/macros.html
+++ b/templates/macros.html
@@ -7,11 +7,12 @@
<header>
<img class="avatar" alt="{{ config.extra.author }}" src="{{ config.extra.avatar }}" />
<div class="banner smaller">
- <span class="info">
+ <div class="info">
<a class="bold-hover" title="permalink to this post" href="{{ post.permalink }}">{% if mention %}№ {{ post.slug }} {% else %}§{% endif %}</a>
<time class="mute" datetime="{{ post.date }}" title="{{ post.date }}">{{ post.date | date(format="%F %R") }}</time>
+ {%- if post.title %} · <h2>{{ post.title }}</h2>{% endif %}
{%- if post.draft %}<span class="warning">DRAFT</span>{% endif %}
- </span>
+ </div>
{%- if "tags" in post.taxonomies %}
<nav class="tags">
<ul class="inline">{{ self::render_tags(tags=post.taxonomies.tags) }}</ul>