summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 %}