diff options
-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 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 %} diff --git a/templates/index.html b/templates/index.html index 643af81..628e078 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['file'] }}.html">Older</a> + <a class="older" href="{{ older['file'] }}.html">Older ({{ older['title'] }})</a> </div> {% endif %} {% endblock %} |