diff --git a/layouts/begabte/single.html b/layouts/begabte/single.html index 15f0a746..d81be7c8 100644 --- a/layouts/begabte/single.html +++ b/layouts/begabte/single.html @@ -1,6 +1,5 @@ {{ define "main" }} -
{{ partial "header-contest" . }}
@@ -13,6 +12,5 @@
-
{{ end }} diff --git a/layouts/partials/header-contest.html b/layouts/partials/header-contest.html index 44d3a375..d79b47e0 100644 --- a/layouts/partials/header-contest.html +++ b/layouts/partials/header-contest.html @@ -1,4 +1,4 @@ -
+
{{ if (and .Params.image (ne .Params.image "/media/image.webp") ) }} diff --git a/layouts/partials/page-header.html b/layouts/partials/page-header.html index 69e43a8c..1d29e639 100644 --- a/layouts/partials/page-header.html +++ b/layouts/partials/page-header.html @@ -5,7 +5,7 @@

{{ .Params.description | markdownify }}

diff --git a/layouts/wettbewerbe/single.html b/layouts/wettbewerbe/single.html index 7ccc0967..99dd44af 100644 --- a/layouts/wettbewerbe/single.html +++ b/layouts/wettbewerbe/single.html @@ -1,6 +1,5 @@ {{ define "main" }} -
{{ partial "header-contest" . }}
@@ -15,6 +14,5 @@
-
{{ end }}