From 051e11e06a640f87dee40f71f7162199cec393a3 Mon Sep 17 00:00:00 2001 From: Christian Wolf Date: Sat, 13 Jan 2024 14:29:30 +0100 Subject: [PATCH] Adding basic structure for press articles pages --- content/page/aktuell/pressestimmen/_index.md | 4 +++- themes/tsc_vfl/layouts/_default/press.html | 24 ++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 themes/tsc_vfl/layouts/_default/press.html diff --git a/content/page/aktuell/pressestimmen/_index.md b/content/page/aktuell/pressestimmen/_index.md index b4107fe..68cc0ec 100644 --- a/content/page/aktuell/pressestimmen/_index.md +++ b/content/page/aktuell/pressestimmen/_index.md @@ -1,7 +1,8 @@ --- title: "Pressestimmen" date: 2023-01-20T16:27:40+01:00 -draft: true +# draft: false +layout: press # type: home menu: main: @@ -9,3 +10,4 @@ menu: parent: aktuell --- + diff --git a/themes/tsc_vfl/layouts/_default/press.html b/themes/tsc_vfl/layouts/_default/press.html new file mode 100644 index 0000000..8e834fd --- /dev/null +++ b/themes/tsc_vfl/layouts/_default/press.html @@ -0,0 +1,24 @@ +{{ define "main" }} + +

{{ .Title }}

+
+ {{ .Content }} + {{ range .Pages.ByPublishDate.Reverse }} +
+
{{ .Title }}
+ +
{{ .Content }}
+
+ + {{ end }} + {{ partial "totop" }} +{{ end }}