diff --git a/hugo.yaml b/hugo.yaml index 5426200..264b319 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -1,5 +1,5 @@ baseURL: 'https://sabbatical.ipng.nl/' -languageCode: 'en-us' +locale: 'en-us' title: "Pim's Sabbatical 2024" theme: 'hugo-theme-ipng' diff --git a/themes/hugo-theme-ipng/assets/styles.scss b/themes/hugo-theme-ipng/assets/styles.scss index d83ce4f..aa4ceb9 100644 --- a/themes/hugo-theme-ipng/assets/styles.scss +++ b/themes/hugo-theme-ipng/assets/styles.scss @@ -1,3 +1,4 @@ +@use "sass:color"; // Colors $midnight-blue: #07608f; $midnight-matte: #4c7e99; @@ -764,7 +765,7 @@ table { border: 2px solid $ipng-orange; tr { &:nth-child(even) { - background-color: darken($table-cell-background, 10%); + background-color: color.adjust($table-cell-background, $lightness: -10%); } } th, td { @@ -772,7 +773,7 @@ table { } th { color: $ipng-orange; - background-color: lighten($table-header-background, 3%); + background-color: color.adjust($table-header-background, $lightness: 3%); border-bottom: 3px solid $ipng-orange; font-weight: bold; } diff --git a/themes/hugo-theme-ipng/layouts/_default/rss.xml b/themes/hugo-theme-ipng/layouts/_default/rss.xml index 1a9f458..c667e73 100644 --- a/themes/hugo-theme-ipng/layouts/_default/rss.xml +++ b/themes/hugo-theme-ipng/layouts/_default/rss.xml @@ -5,18 +5,18 @@ {{ .Permalink }} Latest blog posts from {{ .Site.Title }} - {{ with .Site.LanguageCode }} + {{ with .Site.Language.Locale }} {{.}} {{end}} - {{ with .Site.Author.email }} + {{ with .Site.Params.social.email }} {{.}} - {{ with $.Site.Author.name }} ({{.}}){{end}} + {{ with $.Site.Params.author }} ({{.}}){{end}} {{end}} - {{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}} + {{ with .Site.Params.social.email }} + {{.}}{{ with $.Site.Params.author }} ({{.}}){{end}} {{end}} @@ -38,7 +38,7 @@ {{ .Title }} {{ .Permalink }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} - {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} + {{ with .Site.Params.social.email }}{{.}}{{ with $.Site.Params.author }} ({{.}}){{end}}{{end}} {{ .Permalink }} {{ .Summary | markdownify }} diff --git a/themes/hugo-theme-ipng/layouts/partials/footer.html b/themes/hugo-theme-ipng/layouts/partials/footer.html index 13746a1..8303bbb 100644 --- a/themes/hugo-theme-ipng/layouts/partials/footer.html +++ b/themes/hugo-theme-ipng/layouts/partials/footer.html @@ -1,6 +1,6 @@