From 118e7fc23a4209359ab7e5097f323dc0a2685201 Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Tue, 19 Apr 2022 15:37:38 +0200 Subject: [PATCH 1/2] Fix rendering issues for Hugo 0.96/97 --- layouts/_default/baseof.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 710bb37..856d169 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -2,7 +2,7 @@ - {{ .Hugo.Generator }} + {{ hugo.Generator }} @@ -25,8 +25,9 @@ {{ if .IsHome }} {{ partial "site-verification" . }} {{ end }} {{ template "_internal/google_analytics_async.html" . }} - {{ if .RSSLink }} - {{ end }} + {{ with .OutputFormats.Get "RSS" }} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end }} {{ if (isset .Params "prev") }} {{ end }} {{ if (isset .Params "next") }} From 6bcb620d364e51ff789ae8ad42b9da295432f229 Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Tue, 19 Apr 2022 15:44:35 +0200 Subject: [PATCH 2/2] Update Hugo version in CI --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 23a10d4..e61a196 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ _defaults: &defaults docker: # CircleCI maintains a library of pre-built images # documented at https://circleci.com/docs/2.0/circleci-images/ - - image: cibuilds/hugo:0.80 + - image: cibuilds/hugo:0.97 working_directory: ~/repo jobs: build_page: @@ -25,4 +25,4 @@ workflows: version: 2 default: jobs: - - build_page \ No newline at end of file + - build_page