From 189a933839bed7045a63cf575ae90792a597e315 Mon Sep 17 00:00:00 2001 From: Ivaylo Ivanov Date: Fri, 22 Nov 2024 14:45:45 +0100 Subject: [PATCH] Fix incompatibility with new hugo version --- layouts/partials/head.html | 4 ++-- layouts/partials/nav.html | 2 +- theme.toml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b160657..ae47053 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -26,10 +26,10 @@ - {{ with .OutputFormats.Get "RSS" }} + {{ with site.Home.OutputFormats.Get "RSS" }} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end }} - {{- if not .Site.IsServer -}} + {{- if not hugo.IsServer -}} {{ template "_internal/google_analytics.html" . }} {{- end -}} diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index 78d725e..c641c9f 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -5,7 +5,7 @@ {{ range .Site.Menus.main }} {{ .Name }} {{ end }} - RSS + RSS {{ partial "footer.html" . }} diff --git a/theme.toml b/theme.toml index 2febbdb..47689e5 100644 --- a/theme.toml +++ b/theme.toml @@ -8,5 +8,5 @@ features = ["blog", "responsive", "social media"] min_version = "0.55.2" [author] - name = "kimcc" - homepage = "https://github.com/kimcc" + name = "ivo" + homepage = "https://git.ivayloivanov.eu"