trwnh.com/unified.test.hugo/hugo.toml

96 lines
2.6 KiB
INI
Raw Normal View History

2024-10-05 06:27:07 +00:00
baseURL = "https://trwnh.com/"
languageCode = "en-us"
defaultContentLanguage = "en"
2024-10-16 05:34:37 +00:00
timeZone = "America/Chicago"
2024-10-05 06:27:07 +00:00
title = "~a"
capitalizeListTitles = false
disablePathToLower = true
summaryLength = 200
2024-10-05 19:56:14 +00:00
markup.goldmark.renderer.unsafe = true
markup.goldmark.renderhooks.image.enable = true
markup.goldmark.renderhooks.link.enable = true
markup.goldmark.extensions.extras.mark.enable = true
markup.goldmark.extensions.extras.insert.enable = true
markup.goldmark.extensions.extras.delete.enable = true
markup.goldmark.extensions.extras.subscript.enable = true
markup.goldmark.extensions.extras.superscript.enable = true
markup.goldmark.extensions.strikethrough = false
# markup.goldmark.extensions.typographer.disable = true
[frontmatter]
date = ['date', 'published', 'datePublished', 'pubdate', 'lastmod', 'modified', ':fileModTime', ':git']
publishDate = ['published', 'datePublished', 'pubdate', 'date']
lastmod = ['lastmod', 'modified', ':fileModTime', ':git', 'date', 'published', 'datePublished', 'pubdate']
2024-10-05 19:56:14 +00:00
[markup.goldmark.parser]
wrapStandAloneImageWithinParagraph = false
attribute.block = true
attribute.title = true
2024-10-05 06:27:07 +00:00
[markup.highlight]
codeFences = true
noClasses = false
lineNos = true
lineNumbersInTable = false
tabWidth = 3
guessSyntax = true
2024-10-05 06:27:07 +00:00
[markup.tableOfContents]
startLevel = 2
endLevel = 6
ordered = true
[mediaTypes."application/atom+xml"]
suffixes = ["atom"]
[mediaTypes."application/feed+json"]
suffixes = ["jsonfeed"] # not a standard but whatever
[mediaTypes."application/jf2feed+json"]
suffixes = ["json"]
[mediaTypes."application/activity+json"]
suffixes = ["as2"] # not a standard but whatever
[mediaTypes."application/ld+json"]
suffixes = ["jsonld"]
2024-10-16 05:34:37 +00:00
[outputs] # TODO: finish templating these in layouts/_default
home = ["html", "lunr", "as2"]
section = ["html", "lunr", "atom", "jsonfeed", "as2"]
page = ["html", "as2"]
taxonomy = ["html", "as2"]
term = ["html", "lunr", "atom", "jsonfeed", "as2"]
2024-10-05 19:56:14 +00:00
[outputFormats.lunr]
mediaType = "application/json"
2024-10-05 19:56:14 +00:00
baseName = "index.lunr"
isPlainText = true
2024-10-16 05:34:37 +00:00
notAlternative = true
[outputFormats.atom]
mediaType = "application/atom+xml"
isPlainText = true
[outputFormats.jsonfeed]
mediaType = "application/feed+json"
isPlainText = true
[outputFormats.jf2feed]
mediaType = "application/jf2feed+json"
isPlainText = true
[outputFormats.as2]
mediaType = "application/activity+json"
isPlainText = true
2024-10-05 06:27:07 +00:00
[taxonomies]
tag = "tags"
series = "series"
stream = "streams"
2024-10-16 05:34:37 +00:00
[params.author] # TODO: what other params make sense here? should probably also allow setting this in .Site.Data or maybe even in a /people taxonomy?
name = "a"
# url = ""