Fix: Update syntax highlighting and attempt to fix IsMultilingual
This commit is contained in:
parent
3d7fa1746b
commit
81467296e7
@ -10,11 +10,8 @@ DefaultContentLanguage = "en-us" # Explicitly set the default
|
|||||||
languageName = "English"
|
languageName = "English"
|
||||||
weight = 1
|
weight = 1
|
||||||
|
|
||||||
# Enable syntax highlighting
|
|
||||||
pygmentsCodeFences = true
|
|
||||||
pygmentsUseClasses = true
|
|
||||||
|
|
||||||
# Additional settings
|
# Theme Parameters
|
||||||
paginate = 10
|
paginate = 10
|
||||||
summaryLength = 30
|
summaryLength = 30
|
||||||
enableEmoji = true
|
enableEmoji = true
|
||||||
@ -45,5 +42,9 @@ enableEmoji = true
|
|||||||
url = "/post/"
|
url = "/post/"
|
||||||
weight = 2
|
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.
|
# Default publish directory is 'public', which is what Coolify expects for static sites.
|
||||||
# No need to explicitly set publishDir = "public" unless you change it.
|
# No need to explicitly set publishDir = "public" unless you change it.
|
||||||
|
|||||||
@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<!-- Language Switcher -->
|
<!-- Language Switcher -->
|
||||||
{{ if hugo.IsMultilingual }}
|
{{ if .Site.IsMultilingual }}
|
||||||
{{ with .AllTranslations }}
|
{{ with .AllTranslations }}
|
||||||
<li class="nav-item dropdown">
|
<li class="nav-item dropdown">
|
||||||
<button class="p-1 bg-light rounded dropdown-toggle border " data-bs-toggle="dropdown" aria-expanded="false">
|
<button class="p-1 bg-light rounded dropdown-toggle border " data-bs-toggle="dropdown" aria-expanded="false">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user