Skip to content

Commit e338ba5

Browse files
authored
Update hugo.toml
1 parent c2f2dff commit e338ba5

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

hugo.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ locale = "en-us"
1010
[outputs]
1111
home = ["HTML", "RSS", "JSON"]
1212

13+
# --- GLOBAL THEME PARAMETERS ---
14+
[params]
15+
enableCodeCopy = true
16+
1317
[params.main]
1418
mainSections = ["posts"]
1519

@@ -42,7 +46,6 @@ locale = "en-us"
4246
showAuthorBottom = true # Appears as a rich bio card at the end of the post
4347
showTaxonomies = true
4448
showAuthorsBadges = true
45-
enableCodeCopy = true
4649

4750
[params.list]
4851
showDownloads = false
@@ -54,3 +57,8 @@ locale = "en-us"
5457
[params.search]
5558
enable = true
5659
showOnHeader = true
60+
61+
# --- SYNTAX HIGHLIGHTING (Required for copy script) ---
62+
[markup]
63+
[markup.highlight]
64+
noClasses = false

0 commit comments

Comments
 (0)