From b6be4886ebe778bbcd6f03128b4be52b8ad0eb96 Mon Sep 17 00:00:00 2001 From: Jake <j.vondoemming@stud.uni-goettingen.de> Date: Mon, 3 Oct 2022 05:59:11 +0200 Subject: [PATCH] updated page footer --- lang.json | 4 ++-- theme/templates/page.html | 11 +++-------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/lang.json b/lang.json index c6757a7..f3e2dc4 100644 --- a/lang.json +++ b/lang.json @@ -18,7 +18,7 @@ "date_format": "%d.%m.%Y %H:%M Uhr", "page": { "published_prefix": "Erstellt: ", - "published_suffix": "", + "published_suffix": " | ", "modified_prefix": "Letzte Änderung: ", "modified_suffix": "", "authors_prefix": "Author(en): ", @@ -26,7 +26,7 @@ "languages_prefix": "Sprachen: ", "languages_suffix": "", "category_prefix": "Kategorie: ", - "category_suffix": "", + "category_suffix": " | ", "tags_prefix": "Tags: ", "tags_suffix": "", "slug_prefix": "Slug: ", diff --git a/theme/templates/page.html b/theme/templates/page.html index 05e5017..c29e618 100644 --- a/theme/templates/page.html +++ b/theme/templates/page.html @@ -42,9 +42,7 @@ {{ page.date_created.strftime(t[l].date_format) }} </time> {{ t[l].page.published_suffix }} - </div> - - <div>{{ t[l].page.modified_prefix }} + {{ t[l].page.modified_prefix }} <time datetime="{{ page.date_modified.isoformat() }}"> {{ page.date_modified.strftime(t[l].date_format) }} </time> @@ -52,12 +50,9 @@ </div> <div> - {{ t[l].page.category_prefix }} + {#-{{ t[l].page.category_prefix }} {{ common.render_link_tag(page.category,l) }} - {{ t[l].page.category_suffix }} - </div> - - <div> + {{ t[l].page.category_suffix }}-#} {{ t[l].page.tags_prefix }} {% for tag in page.tags %} {{ common.render_link_tag(tag,l) }} -- GitLab