diff options
Diffstat (limited to 'hugo.toml')
| -rw-r--r-- | hugo.toml | 34 |
1 files changed, 20 insertions, 14 deletions
@@ -30,24 +30,17 @@ unsafe = true startLevel = 2 # 起始级别 endLevel = 3 # 结束级别 ordered = false # 是否使用有序列表 - -[markup.goldmark.extensions] - [markup.goldmark.extensions.extras] - [markup.goldmark.extensions.extras.mark] - enable = true - + [markup.highlight] -guessSyntax = true -noClasses = true -style = "evergarden" -tabWidth = 4 + codeFences = false + guessSyntax = false + style = "emacs" + noClasses = true [taxonomies] category = "categories" tag = "tags" - - [languages] [languages.zh-cn] languageName = "中文" @@ -104,7 +97,7 @@ tabWidth = 4 groupByYear = true toc = true showPostCount = true - favicon = "/favicon.png" + favicon = "/favicon.ico" hideMadeWithLine = true imageZoom = true @@ -113,7 +106,20 @@ tabWidth = 4 email = "im@verdant.ee" [params.footer] - content = "© 2024 - 2026 | Made with ❤️ by [Verdant](https://verdant.ee)." + content = "© 2024 - 2026 [Verdant](https://verdant.ee). Build with Hugo." [security.goTemplates] allowActionJSTmpl = true + +disableHugoGeneratorInject = true + +[minify] + disableXML = false + minifyOutput = true + [minify.tdewolff.html] + keepComments = false + keepSpecialComments = true + keepDefaultAttrVals = true + keepDocumentTags = true + keepEndTags = true + keepQuotes = false |
