diff options
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/templates/base.html b/templates/base.html index 9190f0e..7599251 100644 --- a/templates/base.html +++ b/templates/base.html @@ -32,12 +32,21 @@ <header> <h1><a href="/">{{ config.title }}</a></h1> <div class="banner smaller"> - {{ description }} - {% if section -%} - · <a href="/atom.xml">feed</a> · <a href="/tags">tags</a> - {% elif term -%} - · <a href="atom.xml">feed</a> - {% endif -%} + <span class="description"> + {{ description }} + </span> + {%- if section or term %} + <nav class="links"> + <ul class="inline"> + {%- if section %} + <li><a href="/atom.xml">feed</a></li> + <li><a href="/tags">tags</a></li> + {%- elif term %} + <li><a href="atom.xml">feed</a></li> + {%- endif %} + </ul> + </nav> + {%- endif %} </div> </header> {%- block content %}{% endblock -%} |