A mini theme for the pelican static site generator
git clone https://github.com/m-col/mini-theme
Files | Refs | Readme

Commit c6cde48ade8c0b70f5693e983540808d2cb12630
Parent: b53bc9de131bd4ea043327c0bcf97c51df96e4e3
Author: mcol <mcol@posteo.net>
Date: 2020-10-04 12:46:39 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2020-10-04 12:46:39 +0100

adjust margin around article footers

templates/article.html Modified

@@ -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 %}

static/css/main.css Modified

@@ -67,10 +67,6 @@
     background-color: #ddd;
 }
 
-footer {
-    margin: 15px 0;
-}
-
 img, video {
     max-width: 100%;
     margin: 0 auto;