diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2016-11-15 11:05:03 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2016-11-15 11:05:03 +0100 |
commit | fb4aa7e6db88943c0911c2a398f47465e9c291e6 (patch) | |
tree | 0aeb5fa200c48fd2b5c87211aee536153fa9c612 | |
parent | a64d33b93467c04485c23a0774e90b4129e371d6 (diff) | |
download | kyblo-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.html | 6 | ||||
-rw-r--r-- | templates/index.html | 2 |
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 %} |