summaryrefslogtreecommitdiffstats
path: root/templates/entry.html
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-11-15 11:27:14 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2016-11-15 11:27:54 +0100
commit956fb518ea235a62f14397c1add690f05e0a20b1 (patch)
treedb0425b953019dd4c9100686503422203bab69a1 /templates/entry.html
parent517a416ebd9afb75275998bc257e07404d991cc1 (diff)
downloadkyblo-956fb518ea235a62f14397c1add690f05e0a20b1.tar.xz
Add entry title to navigation links
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'templates/entry.html')
-rw-r--r--templates/entry.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/entry.html b/templates/entry.html
index ec28fe4..f5f11c7 100644
--- a/templates/entry.html
+++ b/templates/entry.html
@@ -12,11 +12,11 @@
</article>
<div id="post-nav">
{% if older and newer%}
- <a href="{{ older['file'] }}.html">Older</a> — <a href="{{ newer['file'] }}.html">Newer</a>
+ <a href="{{ older['file'] }}.html">Older ({{ older['title'] }})</a> — <a href="{{ newer['file'] }}.html">Newer ({{ newer['title'] }})</a>
{% elif older %}
- <a href="{{ older['file'] }}.html">Older</a>
+ <a href="{{ older['file'] }}.html">Older ({{ older['title'] }})</a>
{% elif newer %}
- <a href="{{ newer['file'] }}.html">Newer</a>
+ <a href="{{ newer['file'] }}.html">Newer ({{ newer['title'] }})</a>
{% endif %}
</div>
{% endblock %}