diff --git a/config.toml b/config.toml index 5fcf09a..f57e6ca 100644 --- a/config.toml +++ b/config.toml @@ -10,11 +10,8 @@ DefaultContentLanguage = "en-us" # Explicitly set the default languageName = "English" weight = 1 -# Enable syntax highlighting -pygmentsCodeFences = true -pygmentsUseClasses = true -# Additional settings +# Theme Parameters paginate = 10 summaryLength = 30 enableEmoji = true @@ -44,6 +41,10 @@ enableEmoji = true name = "Posts" url = "/post/" weight = 2 + +[markup] + [markup.highlight] + noClasses = false # Ensures CSS classes are used for highlighting # Default publish directory is 'public', which is what Coolify expects for static sites. # No need to explicitly set publishDir = "public" unless you change it. diff --git a/themes/lightbi/layouts/partials/nav.html b/themes/lightbi/layouts/partials/nav.html index a7d2192..4d24ac3 100644 --- a/themes/lightbi/layouts/partials/nav.html +++ b/themes/lightbi/layouts/partials/nav.html @@ -42,7 +42,7 @@ - {{ if hugo.IsMultilingual }} + {{ if .Site.IsMultilingual }} {{ with .AllTranslations }}