diff --git a/themes/ccchh/layouts/index.html b/themes/ccchh/layouts/index.html index 1e58c48..cb12e1a 100644 --- a/themes/ccchh/layouts/index.html +++ b/themes/ccchh/layouts/index.html @@ -1,16 +1,16 @@ {{ define "main" }}
-
+
{{ .Content }} -
+ {{- $events := where (.Site.GetPage "blog").Pages ".Params.categories" "event" }} {{- $upcoming := where $events ".Params.date" "ge" now }} {{ if $upcoming }} -
+

Neuigkeiten

{{- range $upcoming.ByDate }} -
+
{{- partial "blog-header.html" (dict "headingLink" true "level" 4 "reduced" true "page" . ) }} {{- if in .RawContent "" }} @@ -18,15 +18,15 @@ {{- else }}

{{ .Summary | safeHTML }}

{{- end }} -
+ {{- end }} -
+ {{- end }} {{- $home := .Site.GetPage "/home" }} {{- $sections := where ($home.Resources.ByType "page") ".File.LogicalName" "index.md" }} {{- range sort $sections "File.Path" "asc" }} -
+
{{- $hdg_id := .Title | lower | safeURL }}

{{ .Title }}

{{ .Content -}} @@ -62,7 +62,7 @@ {{- end }}
{{- end }} - + {{ end }}