Fix: Add explicit language config for .Site.IsMultilingual

This commit is contained in:
Greg 2025-05-25 17:04:11 +02:00
parent 3fa4c40014
commit 3d7fa1746b

View File

@ -3,6 +3,13 @@ languageCode = "en-us"
title = "My New Hugo Site" title = "My New Hugo Site"
theme = "lightbi" # Using the LightBi theme theme = "lightbi" # Using the LightBi theme
DefaultContentLanguage = "en-us" # Explicitly set the default
[languages]
[languages."en-us"]
languageName = "English"
weight = 1
# Enable syntax highlighting # Enable syntax highlighting
pygmentsCodeFences = true pygmentsCodeFences = true
pygmentsUseClasses = true pygmentsUseClasses = true