site/config.toml

95 lines
1.7 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"
uglyurls = true
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 = "Copyright © 2021 Hedy Li"
2021-02-16 01:46:37 +00:00
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"
2021-08-05 13:07:32 +00:00
url = "posts.html"
weight = 10
[[menu.main]]
identifier = "about"
name = "about"
title = "about"
2021-08-05 13:07:32 +00:00
url = "about.html"
weight = 20
[[menu.main]]
identifier = "projects"
name = "projects"
2021-08-05 13:07:32 +00:00
title = "projects"
url = "projects.html"
weight = 30
[[menu.main]]
identifier = "rss"
name = "rss"
title = "rss"
2021-08-05 13:07:32 +00:00
url = "posts/index.xml"
weight = "40"
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
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"
]