a mini theme for pelican
git clone https://mcol.xyz/code/mini-theme
Log | Files | Refs | README

commit c6cde48ade8c0b70f5693e983540808d2cb12630
parent b53bc9de131bd4ea043327c0bcf97c51df96e4e3
Author: mcol <mcol@posteo.net>
Date:   Sun,  4 Oct 2020 12:46:39 +0100

adjust margin around article footers

Diffstat:
Mstatic/css/main.css | 4----
Mtemplates/article.html | 6+++---
2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/static/css/main.css b/static/css/main.css @@ -67,10 +67,6 @@ a:target { background-color: #ddd; } -footer { - margin: 15px 0; -} - img, video { max-width: 100%; margin: 0 auto; diff --git a/templates/article.html b/templates/article.html @@ -21,16 +21,16 @@ {{ article.content }} {% if ARTICLE_FEEDBACK %} -<hr>{{ ARTICLE_FEEDBACK }} +<hr><p>{{ ARTICLE_FEEDBACK }}</p> {% endif %} <footer><hr> -Published @ <time datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time> +<p>Published @ <time datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time> {% if article.category %}in <a href="/{{ article.category.url }}">{{ article.category }}</a>{% endif %} {% if article.modified %} / <span class=mod>Modified <time datetime="{{ article.modified.isoformat() }}">{{ article.locale_modified }}</time><span> -{% endif %} +{% endif %}</p> </footer> {% endblock %}