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"
|
||||
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.
|
||||
|
||||
@ -42,7 +42,7 @@
|
||||
|
||||
|
||||
<!-- Language Switcher -->
|
||||
{{ if hugo.IsMultilingual }}
|
||||
{{ if .Site.IsMultilingual }}
|
||||
{{ with .AllTranslations }}
|
||||
<li class="nav-item dropdown">
|
||||
<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