trwnh.com/unified.test.hugo/hugo.toml
2024-11-13 11:24:48 -06:00

102 lines
No EOL
2.6 KiB
INI

baseURL = "https://trwnh.com/"
languageCode = "en-us"
defaultContentLanguage = "en"
timeZone = "America/Chicago"
title = "~a"
capitalizeListTitles = false
disablePathToLower = true
summaryLength = 200
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']
[markup.goldmark.parser]
wrapStandAloneImageWithinParagraph = false
attribute.block = true
attribute.title = true
[markup.highlight]
codeFences = true
noClasses = false
lineNos = true
lineNumbersInTable = false
tabWidth = 3
guessSyntax = true
[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 = ["jf2feed"]
[mediaTypes."application/activity+json"]
suffixes = ["as2"] # not a standard but whatever
[mediaTypes."application/ld+json"]
suffixes = ["jsonld"]
[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"]
[outputFormats.lunr]
mediaType = "application/json"
baseName = "index.lunr"
isPlainText = true
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
[taxonomies]
tag = "tags"
series = "series"
stream = "streams"
[params]
summary = "trwnh.com is the personal site of a"
themeColor = "#001a33"
icon = "/.assets/icon.png"
[[params.author]]
name = "a"
url = "https://trwnh.com"
icon = "/.assets/icon.png"