summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-11-15 11:05:03 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2016-11-15 11:05:03 +0100
commitfb4aa7e6db88943c0911c2a398f47465e9c291e6 (patch)
tree0aeb5fa200c48fd2b5c87211aee536153fa9c612
parenta64d33b93467c04485c23a0774e90b4129e371d6 (diff)
downloadkyblo-fb4aa7e6db88943c0911c2a398f47465e9c291e6.tar.xz
Oops, forgot to fix templates after slug -> file rename
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--templates/entry.html6
-rw-r--r--templates/index.html2
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/entry.html b/templates/entry.html
index 25a5f25..e9acc7a 100644
--- a/templates/entry.html
+++ b/templates/entry.html
@@ -12,15 +12,15 @@
</article>
{% if older and newer%}
<div>
- <a href="{{ older['slug'] }}.html">Older</a> — <a href="{{ newer['slug'] }}.html">Newer</a>
+ <a href="{{ older['file'] }}.html">Older</a> — <a href="{{ newer['file'] }}.html">Newer</a>
</div>
{% elif older %}
<div>
- <a href="{{ older['slug'] }}.html">Older</a>
+ <a href="{{ older['file'] }}.html">Older</a>
</div>
{% elif newer %}
<div>
- <a href="{{ newer['slug'] }}.html">Newer</a>
+ <a href="{{ newer['file'] }}.html">Newer</a>
</div>
{% endif %}
{% endblock %}
diff --git a/templates/index.html b/templates/index.html
index 0cabcdb..643af81 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -12,7 +12,7 @@
</article>
{% if older %}
<div id="post-nav">
- <a class="older" href="{{ older['slug'] }}.html">Older</a>
+ <a class="older" href="{{ older['file'] }}.html">Older</a>
</div>
{% endif %}
{% endblock %}