From 9a0c13d6cb8f3b0ef1bb55772b9e896dd6f61f7d Mon Sep 17 00:00:00 2001 From: flb Date: Sat, 15 Oct 2022 22:16:16 +0200 Subject: [PATCH 1/4] add custom css stylesheet for footer.html partial --- layouts/partials/footer.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index a35c5a4..43ceef4 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -5,6 +5,9 @@ using the pulp theme.

+{{ range .Site.Params.custom_css }} + +{{ end }} {{- range .Site.Params.custom_js -}} {{ end }} From 31194765447fe349d8e70e4403314732b83821e4 Mon Sep 17 00:00:00 2001 From: flb Date: Sun, 16 Oct 2022 00:18:03 +0200 Subject: [PATCH 2/4] use partial.header in index.html --- layouts/index.html | 10 +--------- layouts/partials/header.html | 8 ++++---- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index 96d90e4..5eef8dc 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -4,15 +4,7 @@
-
- -
- {{ .Site.Params.avatarDescription }} - -
- -

{{ .Site.Params.Author }}

-
+ {{- partial "header.html" . -}}

{{ .Site.Params.description | safeHTML }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 5938fe2..da40439 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,9 +1,9 @@

- {{ .Site.Params.avatarDescription }} - + {{ .Site.Params.avatarDescription }} +
-

{{ .Site.Params.Author }}

-
+

{{ .Site.Params.Author }}

+ \ No newline at end of file From 07b6218f42b65767779c8372f1fd4dd5673f872b Mon Sep 17 00:00:00 2001 From: flb Date: Sun, 16 Oct 2022 01:43:51 +0200 Subject: [PATCH 3/4] revert 9a0c13d6cb8f3b0ef1bb55772b9e896dd6f61f7d --- layouts/partials/footer.html | 3 --- 1 file changed, 3 deletions(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 43ceef4..a35c5a4 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -5,9 +5,6 @@ using the pulp theme.

-{{ range .Site.Params.custom_css }} - -{{ end }} {{- range .Site.Params.custom_js -}} {{ end }} From c532648d293e13890b169f768de393a2c947a224 Mon Sep 17 00:00:00 2001 From: flb Date: Mon, 26 Jun 2023 00:26:52 +0200 Subject: [PATCH 4/4] add reference to depreciated google news template --- layouts/partials/head.html | 1 - 1 file changed, 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 86aa046..73b6e76 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -31,7 +31,6 @@ {{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/gohugoio/hugo/tree/master/tpl/tplimpl/embedded/templates */}} {{- template "_internal/opengraph.html" . -}} - {{- template "_internal/google_news.html" . -}} {{- template "_internal/schema.html" . -}} {{- partial "twitter_cards.html" . -}}