From 885ff9987f5e99cabc2fe15fa016029a8a5e1de2 Mon Sep 17 00:00:00 2001 From: Jeff MacKinnon Date: Tue, 12 Jul 2022 11:16:26 -0300 Subject: [PATCH] Almost a new release --- static/css-include/pelican.css | 8 +++++++- templates/article.html | 10 ++++++++- templates/base.html | 2 +- templates/include/article_footer.html | 15 ++++++++++++++ templates/include/cornerstone.html | 29 ++++++++++++++++++++++----- templates/{ => include}/sidebar.html | 5 +++-- 6 files changed, 59 insertions(+), 10 deletions(-) create mode 100644 templates/include/article_footer.html rename templates/{ => include}/sidebar.html (98%) diff --git a/static/css-include/pelican.css b/static/css-include/pelican.css index a9c87b4..abd3c9b 100644 --- a/static/css-include/pelican.css +++ b/static/css-include/pelican.css @@ -187,4 +187,10 @@ VB padding-left: 40px; } -/************************************************/ \ No newline at end of file +/************************************************/ + +/* Article footer */ + +#article-footer { + margin-top: 5em; +} \ No newline at end of file diff --git a/templates/article.html b/templates/article.html index 3f860f4..a816624 100644 --- a/templates/article.html +++ b/templates/article.html @@ -132,7 +132,15 @@

Click Here to Comment on Mastodon.

If its your first time commenting, click here to figure it out.

- {% endif %} + {% endif %} + + {% if ARTICLE_FOOTER == true %} + +
+ {% include 'include/article_footer.html' %} +
+ {% endif %} + {% endblock %} \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index 75fdb82..96f5988 100644 --- a/templates/base.html +++ b/templates/base.html @@ -100,7 +100,7 @@ - {% include 'sidebar.html' %} + {% include 'include/sidebar.html' %} diff --git a/templates/include/article_footer.html b/templates/include/article_footer.html new file mode 100644 index 0000000..eb43c09 --- /dev/null +++ b/templates/include/article_footer.html @@ -0,0 +1,15 @@ + + \ No newline at end of file diff --git a/templates/include/cornerstone.html b/templates/include/cornerstone.html index 80e0404..b7628b7 100644 --- a/templates/include/cornerstone.html +++ b/templates/include/cornerstone.html @@ -14,19 +14,38 @@
+ + + + + + + + diff --git a/templates/sidebar.html b/templates/include/sidebar.html similarity index 98% rename from templates/sidebar.html rename to templates/include/sidebar.html index 31c5bd3..1d6f4cf 100644 --- a/templates/sidebar.html +++ b/templates/include/sidebar.html @@ -28,6 +28,7 @@ {% endfor %} {% endif %} + {% if DISPLAY_CATEGORIES_ON_MENU %}

@@ -35,12 +36,12 @@
+ {% endif %}