aboutsummaryrefslogtreecommitdiff
path: root/hugo.toml
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-22 02:13:20 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-22 02:13:20 +0300
commitef736304163e0952735a8620a48564c288864a94 (patch)
tree2155560a188341cf6d242856e397aa20775ca512 /hugo.toml
parent4a53507256bfefd1e8094defd98d6b28316fa965 (diff)
Auto-commit 2024-12-22
Diffstat (limited to 'hugo.toml')
-rw-r--r--hugo.toml81
1 files changed, 72 insertions, 9 deletions
diff --git a/hugo.toml b/hugo.toml
index c8f69d7..bc8499b 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -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 = '&rsquo;'
+disable = false
+ellipsis = '&hellip;'
+emDash = '&mdash;'
+enDash = '&ndash;'
+leftAngleQuote = '&laquo;'
+leftDoubleQuote = '&ldquo;'
+leftSingleQuote = '&lsquo;'
+rightAngleQuote = '&raquo;'
+rightDoubleQuote = '&rdquo;'
+rightSingleQuote = '&rsquo;'
+[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"