aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>