summaryrefslogtreecommitdiffstatshomepage
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/macros.html5
-rw-r--r--templates/page.html3
2 files changed, 3 insertions, 5 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>
diff --git a/templates/page.html b/templates/page.html
index 8703c7c..394dd97 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -10,9 +10,6 @@ post № {{ page.slug }}
{%- block description %}
post № {{ page.slug }}
-{%- if page.title -%}
-· <em>{{ page.title }}</em>
-{%- endif -%}
{%- endblock description %}
{%- block content %}