diff options
author | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-22 02:13:20 +0300 |
---|---|---|
committer | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-22 02:13:20 +0300 |
commit | ef736304163e0952735a8620a48564c288864a94 (patch) | |
tree | 2155560a188341cf6d242856e397aa20775ca512 /hugo.toml | |
parent | 4a53507256bfefd1e8094defd98d6b28316fa965 (diff) |
Auto-commit 2024-12-22
Diffstat (limited to 'hugo.toml')
-rw-r--r-- | hugo.toml | 81 |
1 files changed, 72 insertions, 9 deletions
@@ -89,12 +89,65 @@ page = "/pages/:slug/" # block = [["\\[", "\\]"], ["$$", "$$"]] # inline = [["\\(", "\\)"]] -[markup.goldmark.renderer] -unsafe = true +[markup] +[markup.goldmark] +duplicateResourceFiles = false +[markup.goldmark.extensions] +definitionList = true +footnote = true +linkify = true +linkifyProtocol = 'https' +strikethrough = true +table = true +taskList = true +[markup.goldmark.extensions.extras] +[markup.goldmark.extensions.extras.delete] +enable = false +[markup.goldmark.extensions.extras.insert] +enable = false +[markup.goldmark.extensions.extras.mark] +enable = false +[markup.goldmark.extensions.extras.subscript] +enable = false +[markup.goldmark.extensions.extras.superscript] +enable = false +[markup.goldmark.extensions.passthrough] +enable = false +[markup.goldmark.extensions.passthrough.delimiters] +block = [] +inline = [] +[markup.goldmark.extensions.typographer] +apostrophe = '’' +disable = false +ellipsis = '…' +emDash = '—' +enDash = '–' +leftAngleQuote = '«' +leftDoubleQuote = '“' +leftSingleQuote = '‘' +rightAngleQuote = '»' +rightDoubleQuote = '”' +rightSingleQuote = '’' +[markup.goldmark.parser] +autoHeadingID = true +autoHeadingIDType = 'github' +wrapStandAloneImageWithinParagraph = true +[markup.goldmark.parser.attribute] +block = false +title = true +[markup.goldmark.renderHooks] +[markup.goldmark.renderHooks.image] +enableDefault = false +[markup.goldmark.renderHooks.link] +enableDefault = false +[markup.goldmark.renderer] +hardWraps = false +unsafe = false +xhtml = false [markup.tableOfContents] endLevel = 4 -ordered = true +ordered = false startLevel = 1 [markup.highlight] @@ -113,11 +166,11 @@ suffixes = ["gmi"] suffixes = ["txt"] [outputs] -page = ["html", "gemini"] -home = ["html", "json", "gemini"] -section = ["html", "rss", "json", "gemini"] -taxonomy = ["html", "gemini"] -term = ["html", "gemini"] +page = ["html", "gemini", "text"] +home = ["html", "json", "gemini", "text"] +section = ["html", "rss", "json", "gemini", "text"] +taxonomy = ["html", "gemini", "text"] +term = ["html", "gemini", "text"] [outputFormats.Gemini] name = "gemini" @@ -129,6 +182,16 @@ isHTML = false protocol = "gemini://" noUgly = true +[outputFormats.Text] +name = "text" +mediaType = "text/plain" +baseName = "index" +isPlainText = true +permalinkable = true +isHTML = false +protocol = "gopher://" +noUgly = true + [pagination] disableAliases = false pagerSize = 10 @@ -136,4 +199,4 @@ path = "page" # [taxonomies] # tag = 'Тег' -# category = "categories"
\ No newline at end of file +# category = "categories" |