site/config.toml

109 lines
1.9 KiB
TOML
Raw Normal View History

baseURL = "https://hedy.tilde.cafe/"
2021-02-16 01:46:37 +00:00
languageCode = "en-us"
2021-08-05 07:02:59 +00:00
title = "~hedy's home"
# Yes. Because I like the /folder -> /folder/ redirects
uglyurls = false
enableGitInfo = true
pygmentsUseClasses = true
pygmentsCodeFences = true
2021-08-05 07:02:59 +00:00
disableHugoGeneratorInject = true
[params]
src = "https://sr.ht/~hedy/site"
logURLPrefix = "https://git.sr.ht/~hedy/site/log/master/item/"
copyright = "© 2021 CC-BY-SA"
2021-02-16 01:46:37 +00:00
2022-05-14 13:16:39 +00:00
shortTitle = "~hedy"
geminiRoot = "gemini://hedy.tilde.cafe"
[author]
name = "hedy"
email = "hedy@tilde.cafe"
2021-08-04 04:10:38 +00:00
[taxonomies]
tag = "tags"
2021-02-16 01:46:37 +00:00
[permalinks]
2021-02-23 04:50:42 +00:00
posts = "/posts/:slug"
2021-02-16 01:46:37 +00:00
[menu]
[[menu.main]]
identifier = "posts"
name = "Posts"
title = "posts"
url = "posts/"
weight = 10
pre = "<span class=\"right\">"
[[menu.main]]
identifier = "about"
name = "About"
title = "about"
url = "about/"
weight = 20
2021-08-25 03:35:59 +00:00
# [[menu.main]]
# identifier = "projects"
# name = "projects"
# title = "projects"
# url = "projects/"
2021-08-25 03:35:59 +00:00
# weight = 30
[[menu.main]]
identifier = "rss"
name = "RSS"
title = "rss"
2021-08-05 13:07:32 +00:00
url = "posts/index.xml"
weight = 100
# pre = "<span class=\"right\">"
post="</span>"
2021-02-16 01:46:37 +00:00
[markup.goldmark.renderer]
# Allows HTML in Markdown
unsafe = true
[mediaTypes]
[mediaTypes."text/gemini"]
suffixes = ["gmi"]
[outputFormats]
[outputFormats.Gemini]
name = "GEMTEXT"
isPlainText = true
isHTML = false
mediaType = "text/gemini"
protocol = "gemini://"
permalinkable = true
path = "gemini/"
noUgly = false
uglyurls = true
2021-02-16 01:46:37 +00:00
[mediaTypes."application/atom+xml"]
suffixes = ["xml"]
[outputFormats.GEMATOM]
name = "GEMATOM"
mediaType = "application/atom+xml"
2021-02-16 01:46:37 +00:00
protocol = "gemini://"
rel = "alternate"
isPlainText = false
2021-02-16 01:46:37 +00:00
path = "gemini/"
isHTML = false
noUgly = false
permalinkable = false
2021-02-16 01:46:37 +00:00
[outputs]
section = ["HTML", "RSS", "GEMATOM"]
[webmentions]
newDir = "public"
oldDir = "old"
webmentionsFile = "mentions.json"
excludeSources = [
"/tags/*",
"/",
]
excludeDestinations = [
"https://hedy.tilde.cafe"
]