diff options
-rw-r--r-- | templates/entry.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/entry.html b/templates/entry.html index 1d58209..cdd759f 100644 --- a/templates/entry.html +++ b/templates/entry.html @@ -20,9 +20,10 @@ {% endif %} </footer> </article> +{% if older or newer %} <nav> <div id="post-nav"> -{% if older and newer%} +{% if older and newer %} <a href="{{ older[0]['file'] }}.html">Older ({{ older[0]['title'] }})</a> — <a href="{{ newer[0]['file'] }}.html">Newer ({{ newer[0]['title'] }})</a> {% elif older %} <a href="{{ older[0]['file'] }}.html">Older ({{ older[0]['title'] }})</a> @@ -31,4 +32,5 @@ {% endif %} </nav> </div> +{% endif %} {% endblock %} |