diff options
Diffstat (limited to 'themes/gamerdonkey-theme')
| -rw-r--r-- | themes/gamerdonkey-theme/static/css/style.css | 20 | ||||
| -rw-r--r-- | themes/gamerdonkey-theme/templates/index.html | 9 |
2 files changed, 24 insertions, 5 deletions
diff --git a/themes/gamerdonkey-theme/static/css/style.css b/themes/gamerdonkey-theme/static/css/style.css index fce750d..f8dbbb4 100644 --- a/themes/gamerdonkey-theme/static/css/style.css +++ b/themes/gamerdonkey-theme/static/css/style.css @@ -33,26 +33,36 @@ header#banner { display: none; } -nav#menu { +nav { width: 100%; text-align: center; font-weight: bold; } -nav#menu ul { +nav#categories { + font-weight: normal; +} + +nav ul { list-style: none; padding-left: 0; } -nav#menu ul li { +nav ul li { display: inline; } -nav#menu ul li::after { +nav ul li::after { content: ' | '; } -nav#menu ul li:last-child::after { +nav#categories ul li::after { + content: ', '; +} + +nav ul li:last-child::after, +nav#categories ul li:last-child::after, +nav#categories ul li:first-child::after { content: ''; } diff --git a/themes/gamerdonkey-theme/templates/index.html b/themes/gamerdonkey-theme/templates/index.html index 21476a9..6fec8d9 100644 --- a/themes/gamerdonkey-theme/templates/index.html +++ b/themes/gamerdonkey-theme/templates/index.html @@ -1,4 +1,13 @@ {% extends "!simple/index.html" %} {% block content_title %} +<nav id="categories"> + <ul> + <li>Categories:</li> + {% for cat, null in categories|sort %} + <li><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li> + {% endfor %} + </ul> +</nav> {% endblock %} + |
