From 09cabf1b0b395802fe79ed9130cd78bd4617c8e9 Mon Sep 17 00:00:00 2001 From: Halfdan Date: Fri, 18 Nov 2022 16:22:39 +0100 Subject: [PATCH] =?UTF-8?q?Removing=20a=20block=20of=20templating=20code,?= =?UTF-8?q?=20that=20seemingly=20did=20nothing,=20other=20than=20injecting?= =?UTF-8?q?=20a=20nice=20little=20[services]=20block=20on=20the=20frontpag?= =?UTF-8?q?e=20=C2=AF\=5F(=E3=83=84)=5F/=C2=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/datacoop2020/layouts/index.html | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/themes/datacoop2020/layouts/index.html b/themes/datacoop2020/layouts/index.html index 0cd2eae..a793983 100644 --- a/themes/datacoop2020/layouts/index.html +++ b/themes/datacoop2020/layouts/index.html @@ -1,25 +1,8 @@ {{ define "main" }} -

{{.Title}}

+

{{.Title}}

- {{.Content}} - - {{ .Site.Params.mainSections }} - {{ $pages := where site.RegularPages "Type" "in" ("") }} - {{ range $pages.ByPublishDate.Reverse }} -

- {{ .Title | markdownify }} - {{ $customDateFormat := "January 2, 2006" }} - {{ with .Site.Params.customDateFormat }}{{ $customDateFormat = . }}{{ end }} -
- {{ .PublishDate.Format $customDateFormat }} - {{ partial "tags" . }} - {{ if eq .Site.Params.showPostSummary true }} -
- {{ .Summary }} - {{ end }} -

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