diff --git a/hugo.toml b/hugo.toml index 7e15d1c..8fe4d7e 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,7 +1,7 @@ [module] [module.hugoVersion] extended = true - min = "0.120.0" + min = "0.128.0" [[module.imports]] path = "github.com/foo-dogsquared/hugo-mod-simple-icons" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 2122382..981ee92 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -3,7 +3,7 @@ {{ i18n "back_to_top" | default "Back to top" }} -{{ if $.Site.IsMultiLingual }} +{{ if hugo.IsMultiLingual }}
{{ i18n "multilingual" }}: {{ range $.Site.Languages }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 651d20f..00ab217 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,10 +3,10 @@ {{- $stylesheets := slice }} -{{- $main := resources.Get "scss/main.scss" | resources.ToCSS }} +{{- $main := resources.Get "scss/main.scss" | toCSS }} {{- /* Combine all of the custom schems in under one stylesheet */ -}} -{{- $themes := resources.Get "templates/theme.scss" | resources.ExecuteAsTemplate "css/themes.css" . | resources.ToCSS +{{- $themes := resources.Get "templates/theme.scss" | resources.ExecuteAsTemplate "css/themes.css" . | toCSS }} {{- /* Append the main stylesheet to be the last so the resulting stylesheet will make the custom colorschemes at the