aboutsummaryrefslogtreecommitdiff
path: root/hugo.toml
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-09-09 14:05:02 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-09-09 14:05:02 +0800
commit1dc698835aba9999e03fcee1ab7553c615be2795 (patch)
treef5018143067339cd977007ea3b44fc6cdbcda847 /hugo.toml
parent8eb90b9eac017a0c7ecbf0af5620274f8451e809 (diff)
downloadrhomepage-1dc698835aba9999e03fcee1ab7553c615be2795.tar.gz
rhomepage-1dc698835aba9999e03fcee1ab7553c615be2795.tar.xz
Add build-time MathML rendering
Diffstat (limited to 'hugo.toml')
-rw-r--r--hugo.toml9
1 files changed, 8 insertions, 1 deletions
diff --git a/hugo.toml b/hugo.toml
index 0873861..c266924 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -1,6 +1,6 @@
baseURL = "http://localhost:1314/"
title = "RICHARD QIN'S HOME PAGE"
-languageCode = "en"
+locale = "en"
defaultContentLanguage = "en"
timeZone = "Asia/Shanghai"
uglyURLs = true
@@ -31,6 +31,13 @@ enableRobotsTXT = false
baseName = "rss"
[markup]
+ [markup.goldmark]
+ [markup.goldmark.extensions]
+ [markup.goldmark.extensions.passthrough]
+ enable = true
+ [markup.goldmark.extensions.passthrough.delimiters]
+ block = [['$$', '$$']]
+ inline = [['$', '$']]
[markup.highlight]
codeFences = false
guessSyntax = false