From dcc69e458162615b62575e7f2b87c52121609cfe Mon Sep 17 00:00:00 2001 From: Barne Kleinen Date: Wed, 31 Jul 2024 21:29:35 +0200 Subject: [PATCH 1/2] add bewertungstool project list to project overview --- .../partials/project/meta_data_overview.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/themes/showtime-theme-2024/layouts/partials/project/meta_data_overview.html b/themes/showtime-theme-2024/layouts/partials/project/meta_data_overview.html index 934b717b..16e33c75 100644 --- a/themes/showtime-theme-2024/layouts/partials/project/meta_data_overview.html +++ b/themes/showtime-theme-2024/layouts/partials/project/meta_data_overview.html @@ -46,5 +46,17 @@

{{ .Type }}

{{ range $projects }} {{ partial "project/schedule_data.toml" . }} {{ end }} + + +
+ +for bt: +
+{{ range $projects -}}
+"{{ .Params.project_id }}": - "{{ .Params.project_id }} - {{ .Title }} {{ .Params.Subtitle }}",
+
+{{ end }}
+
+
- \ No newline at end of file + From 427bc76eea72257cd238e50da5645d73e8d18428 Mon Sep 17 00:00:00 2001 From: Barne Kleinen Date: Thu, 26 Sep 2024 10:51:23 +0200 Subject: [PATCH 2/2] .. --- themes/showtime-theme-2024/layouts/_default/baseof.html | 2 +- themes/showtime-theme-2024/layouts/_default/schedule.html | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/themes/showtime-theme-2024/layouts/_default/baseof.html b/themes/showtime-theme-2024/layouts/_default/baseof.html index 64d137bd..c2bbdf9c 100644 --- a/themes/showtime-theme-2024/layouts/_default/baseof.html +++ b/themes/showtime-theme-2024/layouts/_default/baseof.html @@ -15,7 +15,7 @@ {{ end }} - ({{ if .Site.BuildDrafts }}with{{ else }}without{{ end }} drafts) + ({{ if .Site.BuildDrafts }}with{{ else }}no{{ end }} drafts) {{ end }}