From 626462ba4210b0667855236694676b57bde0413f Mon Sep 17 00:00:00 2001 From: ralfhersel Date: Sun, 10 Nov 2024 17:56:11 +0100 Subject: [PATCH] v0.30 --- changes.txt | 5 +++++ site/config.yaml | 1 - site/themes/hugo-fresh/layouts/partials/css.html | 2 +- site/themes/hugo-fresh/layouts/partials/meta.html | 3 +-- site/themes/hugo-fresh/layouts/partials/meta_alt.html | 8 ++++++++ 5 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 site/themes/hugo-fresh/layouts/partials/meta_alt.html diff --git a/changes.txt b/changes.txt index 496d801..5c29579 100644 --- a/changes.txt +++ b/changes.txt @@ -1,3 +1,8 @@ +2024/11/10 - Version 0.30 + + Fixed some minor warnings and errors caused by deprecates. + + 2023/07/13 - Version 0.29 Quotes diff --git a/site/config.yaml b/site/config.yaml index 295f3af..0f0019e 100644 --- a/site/config.yaml +++ b/site/config.yaml @@ -5,7 +5,6 @@ theme: hugo-fresh googleAnalytics: disableKinds: - taxonomy - - taxonomyTerm markup: goldmark: renderer: diff --git a/site/themes/hugo-fresh/layouts/partials/css.html b/site/themes/hugo-fresh/layouts/partials/css.html index bcfe5b5..75d9fed 100644 --- a/site/themes/hugo-fresh/layouts/partials/css.html +++ b/site/themes/hugo-fresh/layouts/partials/css.html @@ -1,4 +1,4 @@ -{{- $inServerMode := .Site.IsServer }} +{{- $inServerMode := hugo.IsServer }} {{- $sass := "style.sass" }} {{- $cssTarget := "css/style.css" }} {{- $cssOpts := cond ($inServerMode) (dict "targetPath" $cssTarget "enableSourceMap" true) (dict "targetPath" $cssTarget "outputStyle" "compressed") }} diff --git a/site/themes/hugo-fresh/layouts/partials/meta.html b/site/themes/hugo-fresh/layouts/partials/meta.html index 517d815..17e8b7e 100644 --- a/site/themes/hugo-fresh/layouts/partials/meta.html +++ b/site/themes/hugo-fresh/layouts/partials/meta.html @@ -1,8 +1,7 @@ -{{ template "_internal/google_analytics_async.html" . }} {{ if eq .Site.Params.openGraph true }} {{ template "_internal/opengraph.html" . }} {{ end }} - \ No newline at end of file + diff --git a/site/themes/hugo-fresh/layouts/partials/meta_alt.html b/site/themes/hugo-fresh/layouts/partials/meta_alt.html new file mode 100644 index 0000000..a41fd23 --- /dev/null +++ b/site/themes/hugo-fresh/layouts/partials/meta_alt.html @@ -0,0 +1,8 @@ +{{ template "_internal/google_analytics_async.html" . }} +{{ if eq .Site.Params.openGraph true }} +{{ template "_internal/opengraph.html" . }} +{{ end }} + + + +