From 81467296e7a1654af72498bbe4830f5adc88ca5f Mon Sep 17 00:00:00 2001 From: Greg Date: Sun, 25 May 2025 17:09:24 +0200 Subject: [PATCH] Fix: Update syntax highlighting and attempt to fix IsMultilingual --- config.toml | 9 +++++---- themes/lightbi/layouts/partials/nav.html | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) 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 }}