summaryrefslogtreecommitdiffstatshomepage
path: root/templates/macros.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/macros.html')
-rw-r--r--templates/macros.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/macros.html b/templates/macros.html
index d3ba894..ffa8641 100644
--- a/templates/macros.html
+++ b/templates/macros.html
@@ -4,7 +4,7 @@
<img class="avatar" alt="{{ config.extra.author }}" src="{{ config.extra.avatar }}" />
<div class="banner smaller">
<div class="info">
- <a class="bold-hover" title="permalink to this post" href="{{ post.permalink }}">{% if mention %}№ {{ post.slug }} {% else %}§{% endif %}</a>
+ <a class="bold-hover" title="permalink to this post" href="{{ post.permalink }}">{% if class == "mention" %}№ {{ post.slug }} {% else %}§{% endif %}</a>
<time class="mute" datetime="{{ post.date }}" title="{{ post.date }}">{{ post.date | date(format="%F") }}</time>
<h2 class="mute title">{{ post.title }}</h2>
</div>