From d8226c6138451fc2b0df4c2225bf5d5bcb8b7857 Mon Sep 17 00:00:00 2001 From: Fliegerjohn Date: Fri, 1 Nov 2024 14:30:42 +0100 Subject: [PATCH] Enable Home template --- layouts/home.html | 15 +++++++++++++++ layouts/index.html | 9 --------- 2 files changed, 15 insertions(+), 9 deletions(-) create mode 100644 layouts/home.html delete mode 100644 layouts/index.html diff --git a/layouts/home.html b/layouts/home.html new file mode 100644 index 0000000..ef99573 --- /dev/null +++ b/layouts/home.html @@ -0,0 +1,15 @@ +{{ define "main" }} +
+
+

{{ .Title }}

+ {{ with .Params.subtitle }} + {{ . }} + {{ end }} +
+
+ + {{ .Content }} +
+
+{{ end }} + diff --git a/layouts/index.html b/layouts/index.html deleted file mode 100644 index cd86013..0000000 --- a/layouts/index.html +++ /dev/null @@ -1,9 +0,0 @@ -{{ define "main" }} -
- {{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }} - {{ range $paginator.Pages }} - {{ .Render "summary" }} - {{ end }} - {{ partial "pagination.html" . }} -
-{{ end }}