From 2344ab6ab7e240d47f6c2176d559df7f6ab3460d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Mon, 9 May 2022 11:24:17 +0200 Subject: Replace long-deprecated and now removed ".Hugo" with 'hugo' the global 'hugo' has been available since v0.53.0 Closes: https://github.com/jeblister/kube/issues/39 --- layouts/_default/baseof.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 38bd8de..8f75371 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -2,7 +2,7 @@ - {{ .Hugo.Generator }} + {{ hugo.Generator }} -- cgit v1.2.3 From 4f3219b2da563e7423035bd1c3a769484ac008f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Mon, 9 May 2022 11:25:46 +0200 Subject: replace long deprecated and now removed .RSSLink with "with .OutputFormats.Get" Closes: https://github.com/jeblister/kube/issues/39 --- layouts/_default/baseof.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 8f75371..3f7ec06 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -25,8 +25,7 @@ {{ if .IsHome }} {{ partial "site-verification" . }} {{ end }} {{ template "_internal/google_analytics_async.html" . }} - {{ if .RSSLink }} - {{ end }} + {{ with .OutputFormats.Get "RSS" }} {{ end }} {{ if (isset .Params "prev") }} {{ end }} {{ if (isset .Params "next") }} -- cgit v1.2.3