diff --git a/pelicanconf.py b/pelicanconf.py index 8dbcfb5..581cb62 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -19,7 +19,7 @@ TRANSLATION_FEED_ATOM = None AUTHOR_FEED_ATOM = None AUTHOR_FEED_RSS = None -#STATIC_PATHS = ['extra/favicon.ico', 'images'] +STATIC_PATHS = ['extra/favicon.ico', 'images'] THEME = 'themes/default' THEME_STATIC_DIR = 'theme' diff --git a/themes/default/static/css/main.css b/themes/default/static/css/main.css index 5ad9f61..b6529d7 100644 --- a/themes/default/static/css/main.css +++ b/themes/default/static/css/main.css @@ -13,15 +13,16 @@ header#banner{ text-decoration: none; } nav#menu{ - width: 100%; + width: calc(100% - 1em); text-align: center; background-color: magenta; border-radius: 1em; + padding: 0.5em; } nav#menu li{ background-color: white; border-radius: 1em; - margin:1em 0; + margin:0.5em 0; padding:1em; list-style: none; display: inline-block; diff --git a/themes/default/templates/categories.html b/themes/default/templates/categories.html index 867b98c..2ef6b71 100644 --- a/themes/default/templates/categories.html +++ b/themes/default/templates/categories.html @@ -5,3 +5,18 @@ {% block content_title %}

Overview

{% endblock %} + +{% block content %} + {% for category, articles in categories|sort %} +

{{ category }}

+ {% for article in articles %} +
+
+

{{ article.title }}

+
+
{{ article.summary }}
+ +
+ {% endfor %} + {% endfor %} +{% endblock %} diff --git a/themes/default/templates/category.html b/themes/default/templates/category.html index db211e9..4ed94b3 100644 --- a/themes/default/templates/category.html +++ b/themes/default/templates/category.html @@ -3,6 +3,6 @@ {% block title %}{{ SITENAME }} - {{ category }} category{% endblock %} {% block content_title %} -

{{ category }}

+

{{ category }}

{% endblock %}