aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-06-14 16:32:52 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-06-14 16:32:52 +0200
commit8a9ca0e0bac3284ecb8c028029380532a1978a9d (patch)
tree07e512598f09233c22c0ec066e63a27d8a65ff72
parent5aeaec0fcc3c0145fbc2a4fd3d87f8201ea96c96 (diff)
fix: Hugo warnings
-rw-r--r--README.md2
-rw-r--r--config/_default/hugo.toml2
-rw-r--r--layouts/_default/baseof.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 6f1fbd0..4088894 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
## Development
-- `go install github.com/gohugoio/hugo@v0.150`
+- `go install github.com/gohugoio/hugo@v0.163` (tested with v0.163.1)
## TODO
diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml
index 7ef33df..7655fc4 100644
--- a/config/_default/hugo.toml
+++ b/config/_default/hugo.toml
@@ -1,6 +1,6 @@
baseURL = 'https://blog.kagamino.dev/'
copyright = "{year}" # To make 2007 - 2022. Just add before {year} example: 2007 - {year}
-languageCode = 'en-us'
+locale = 'en-US'
title = "Kagamino's Blog"
enableRobotsTXT = true
ignoreFiles = ["__pycache__"]
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 7ba1af9..152786d 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html lang="{{ .Site.LanguageCode | default `en` }}" class="scroll-smooth">
+<html lang="{{ .Site.Language.Locale | default `en` }}" class="scroll-smooth">
<head>
{{- partial "head/index" . -}}
</head>