From 4913ad5fa636e110dc8fd6a618c71b8fa27a3561 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 31 May 2020 12:59:40 +0200 Subject: Add styling, default license etc. --- templates/index.html | 32 -------------------------------- templates/page.html | 8 +++++--- templates/shortcodes/license.html | 19 +++++++++++++++++++ 3 files changed, 24 insertions(+), 35 deletions(-) create mode 100644 templates/shortcodes/license.html (limited to 'templates') diff --git a/templates/index.html b/templates/index.html index d883a57..91a335d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -45,37 +45,5 @@ {% endfor %} -
- -
- {% endblock content %} diff --git a/templates/page.html b/templates/page.html index 56317a7..5cdf946 100644 --- a/templates/page.html +++ b/templates/page.html @@ -7,9 +7,11 @@ Publisert: {{ page.date }} {% if page.author %}av {{ page.author }}{% endif %} - - Merket: {{ page.taxonomies['tags'] | join(sep=", ") }} - + {% if page.taxonomies %} + + Merket: {{ page.taxonomies['tags'] | join(sep=", ") }} + + {% endif %} {{ page.content | safe }} diff --git a/templates/shortcodes/license.html b/templates/shortcodes/license.html new file mode 100644 index 0000000..8e9a1aa --- /dev/null +++ b/templates/shortcodes/license.html @@ -0,0 +1,19 @@ +
+ +
+ Innholdet på denne siden er publisert av + + Rabalder/Harald Eilertsen + og gjort tilgjengelig under en + + Creative Commons Navngivelse-DelPåSammeVilkår 4.0 Internasjonal lisens. +
+
-- cgit v1.2.3