diff options
-rw-r--r-- | templates/entry.html | 8 | ||||
-rw-r--r-- | templates/layout.html | 5 |
2 files changed, 6 insertions, 7 deletions
diff --git a/templates/entry.html b/templates/entry.html index e9acc7a..ec28fe4 100644 --- a/templates/entry.html +++ b/templates/entry.html @@ -10,17 +10,13 @@ {{ content }} </div> </article> +<div id="post-nav"> {% if older and newer%} -<div> <a href="{{ older['file'] }}.html">Older</a> — <a href="{{ newer['file'] }}.html">Newer</a> -</div> {% elif older %} -<div> <a href="{{ older['file'] }}.html">Older</a> -</div> {% elif newer %} -<div> <a href="{{ newer['file'] }}.html">Newer</a> -</div> {% endif %} +</div> {% endblock %} diff --git a/templates/layout.html b/templates/layout.html index 466f2b7..dc1507a 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -28,8 +28,9 @@ header nav a, header nav a:visited { header nav a:hover { color: #000; } -header, article, footer { +header, #content, footer { padding-left: 0.5rem; + padding-right: 0.5rem; } article p { white-space: pre-wrap; @@ -72,7 +73,9 @@ footer ul#contact-info li { </nav> </header> <hr /> + <div id="content"> {% block content %}{% endblock %} + </div> <hr /> <footer> <div> |