Fix: Add explicit language config for .Site.IsMultilingual
This commit is contained in:
parent
3fa4c40014
commit
3d7fa1746b
@ -3,6 +3,13 @@ languageCode = "en-us"
|
||||
title = "My New Hugo Site"
|
||||
theme = "lightbi" # Using the LightBi theme
|
||||
|
||||
DefaultContentLanguage = "en-us" # Explicitly set the default
|
||||
|
||||
[languages]
|
||||
[languages."en-us"]
|
||||
languageName = "English"
|
||||
weight = 1
|
||||
|
||||
# Enable syntax highlighting
|
||||
pygmentsCodeFences = true
|
||||
pygmentsUseClasses = true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user