From 439c4b98d8dc0175119e18703bb9e23bf58423d0 Mon Sep 17 00:00:00 2001 From: ptrcnull Date: Tue, 24 Nov 2020 19:23:23 +0100 Subject: [PATCH] feat: Added static homepage --- layouts/index.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index cd86013..f49a80f 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,9 +1,10 @@ {{ define "main" }}
- {{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }} - {{ range $paginator.Pages }} - {{ .Render "summary" }} - {{ end }} - {{ partial "pagination.html" . }} +
+

{{ .Title }}

+
+ {{ .Content }} +
+
{{ end }}