From ec071eb40e24c15219ea600838f03d89b213fc25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20K=C3=A1n=C4=9B?= Date: Thu, 1 Oct 2026 11:20:20 +0200 Subject: [PATCH] Update Hugo --- config.json | 2 +- flake.lock | 11 +++++------ themes/hermit/layouts/_default/baseof.html | 2 +- themes/hermit/layouts/posts/rss.xml | 2 +- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/config.json b/config.json index 9b0f7ed..a7012bf 100644 --- a/config.json +++ b/config.json @@ -1,6 +1,6 @@ { "baseURL": "https://vkane.cz", - "languageCode": "en", + "locale": "en", "title": "Vojtěch Káně", "theme": "hermit", diff --git a/flake.lock b/flake.lock index 40c53e0..70e5a67 100644 --- a/flake.lock +++ b/flake.lock @@ -2,12 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1769598131, - "narHash": "sha256-e7VO/kGLgRMbWtpBqdWl0uFg8Y2XWFMdz0uUJvlML8o=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "fa83fd837f3098e3e678e6cf017b2b36102c7211", - "type": "github" + "lastModified": 1790340521, + "narHash": "sha256-cRrWlIjVRJ6BHDr9caUdXsZ3owzWIKYHpNmGPHBInIU=", + "path": "/nix/store/q6zfrswar6d0fkihnxc198vmkdxrmvq5-source", + "rev": "f5c082a40f7571c266e74e80ae2e68aadd8a9fc7", + "type": "path" }, "original": { "owner": "NixOS", diff --git a/themes/hermit/layouts/_default/baseof.html b/themes/hermit/layouts/_default/baseof.html index dfa6056..f6b220a 100644 --- a/themes/hermit/layouts/_default/baseof.html +++ b/themes/hermit/layouts/_default/baseof.html @@ -1,5 +1,5 @@ - + diff --git a/themes/hermit/layouts/posts/rss.xml b/themes/hermit/layouts/posts/rss.xml index d4a6aff..dedd9b2 100644 --- a/themes/hermit/layouts/posts/rss.xml +++ b/themes/hermit/layouts/posts/rss.xml @@ -3,7 +3,7 @@ {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} {{ .Permalink }} Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} - Hugo -- gohugo.io{{ with .Site.LanguageCode }} + Hugo -- gohugo.io{{ with .Site.Language.Locale }} {{.}}{{end}}{{ with .Site.Params.Author.email }} {{.}}{{ with $.Site.Params.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Params.Author.email }} {{.}}{{ with $.Site.Params.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }}