From a492b06748ccaecdef081383b58663b2227826a1 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Sat, 18 Dec 2021 15:16:29 +0100 Subject: [PATCH 1/3] removed reading time --- layouts/_default/list.html | 2 +- layouts/_default/single.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index a48fd24..edcdf26 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -20,7 +20,7 @@ {{ if .Params.Author }} by {{ .Params.Author }} {{ end }} -

{{ .PublishDate.Format "January 2, 2006" }} | Reading Time: {{.ReadingTime}} min

+

{{ .PublishDate.Format "January 2, 2006" }}

{{range .Params.Tags }}
{{.}}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index c850e85..d99b1c6 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -9,7 +9,7 @@

By {{ .Params.Author }}

{{ end }}

Published on: {{ .PublishDate.Format "January 2, 2006"}} - | Reading Time: {{.ReadingTime}} min | Last Modified : {{ .Page.Lastmod.Format "January 2, 2006" }} + | Last Modified : {{ .Page.Lastmod.Format "January 2, 2006" }}

-- 2.20.1 From 2348d5b7ef451215ecf7b46a3fa78161668feb6b Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Sat, 18 Dec 2021 15:53:06 +0100 Subject: [PATCH 2/3] only print date --- layouts/_default/single.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index d99b1c6..5da97d6 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -8,9 +8,7 @@ {{ if .Params.Author }}

By {{ .Params.Author }}

{{ end }} -

Published on: {{ .PublishDate.Format "January 2, 2006"}} - | Last Modified : {{ .Page.Lastmod.Format "January 2, 2006" }} -
+

{{ .PublishDate.Format "January 2, 2006"}}

{{range .Params.Tags }} -- 2.20.1 From 509e36e8bfd7c5901abc215d16ceb1031f22bbcc Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Sat, 18 Dec 2021 16:54:22 +0100 Subject: [PATCH 3/3] always use dark mode --- layouts/partials/header.html | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 2b5f53f..7b71199 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -3,15 +3,6 @@

{{ .Site.Params.main.headerTitle }}

-
- - -