site/config.toml

119 lines
2.4 KiB
TOML
Raw Normal View History

baseURL = "https://home.hedy.dev/"
2021-08-05 07:02:59 +00:00
title = "~hedy's home"
2024-04-11 11:36:01 +00:00
languageCode = "en-us"
timeZone = "UTC"
2021-08-05 07:02:59 +00:00
# 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]
description = "~hedy's home: hedy's canonical web presence including contact information and a blog."
copyright = "CC-BY-SA"
copyrightLink = "https://creativecommons.org/licenses/by-sa/4.0/"
copyrightYearStart = "2021"
2021-02-16 01:46:37 +00:00
src = "https://sr.ht/~hedy/site"
srcURLPrefix = "https://git.sr.ht/~hedy/site/tree/master/item/"
logURLPrefix = "https://git.sr.ht/~hedy/site/log/master/item/"
2022-05-14 13:16:39 +00:00
shortTitle = "~hedy"
suffixTitle = " | ~hedy" # appended after specific page titles
2022-05-14 13:16:39 +00:00
geminiRoot = "gemini://home.hedy.dev"
Nav, CSS, Content(index): Add favicon, better homepage and nav title Basically all the changes involving my profile pics - Favicon: 32x32 2-colors version - Both SVG and PNG provided - Nav home link: Now having the icon next to the name - Configurable in config.toml (see its comment) - For homepage: the home link is Site.title - For other pages: icon next to name - Index page h1: No more big ugly pfp, now inline - Using shortcodes with corresponding partials ln'ed to them - CSS for the nav thing - Right now when user hovers on the home link, the portion has a background color. I tried to not select it but apparently failed. Desired behaviour: it should only have the hover effect if the home link does not have the image (which is the case for all pages other than index page, as described in second list item above). Current behaviour: A useless CSS selector change that did not alter the site's behaviour in any way whatsoever. Don't mind me, I'm horrible at comitting things for this repo - I tend to like to make a lot of changes in one go and commit using `git apply -p`. I also litter a lot of comments in the CSS, which apparently increases the size of the inline <style> in every. single. HTML file generated. Literally. Most likely switching back to external stylesheet in the future to save some bytes in my overall website size. - (Most likely the worst CSS addition I've every made): A blinking lower-block for the h1 on index page. Seriously? CSS Animations on a supposedly "simple" site like this??? Hopefully I would know better and remove it soon. - It's only animated for like 5 seconds. After that it is hidden - For text-based browsers it willbe static and forever there. This may be a problem because it looks like my name has a trailing underscore :facepalm: - It just looks wrong. I didn't have the typewriter animation for the h1 text though, so ugh.
2022-05-16 12:16:48 +00:00
# true: Use shortcode pfp-name as the home link text in nav bar
# false: Use shortTitle there instead
navHomeUsePFPName = true
[author]
name = "hedy"
email = "hedy.dev@protonmail.com"
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
[[menu.main]]
identifier = "about"
name = "About"
title = "about"
url = "/about/"
weight = 20
[[menu.main]]
identifier = "misc"
name = "Misc"
title = "misc"
url = "/misc/"
weight = 40
[[menu.main]]
identifier = "rss"
name = "RSS"
title = "rss"
url = "/posts/index.xml"
weight = 100
2021-02-16 01:46:37 +00:00
[markup.goldmark.renderer]
# Allow HTML in Markdown
2021-02-16 01:46:37 +00:00
unsafe = true
[mediaTypes]
[mediaTypes."text/gemini"]
suffixes = ["gmi"]
[mediaTypes."application/atom+xml"]
suffixes = ["xml"]
2021-02-16 01:46:37 +00:00
[outputFormats]
[outputFormats.Gemini]
name = "GEMTEXT"
isPlainText = true
isHTML = false
mediaType = "text/gemini"
protocol = "gemini://"
permalinkable = true
path = "gemini/"
# No /slug/index.gmi, please.
# Even though I specify this explicitly here, it doesn't actually work.
# I clean this up in the site build process using ./bin/gemini-clean.py.
noUgly = false
uglyurls = true
2021-02-16 01:46:37 +00:00
[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
# https://gist.github.com/lpar/7ded35d8f52fef7490a5be92e6cd6937
[outputFormats.ATOM]
name = "ATOM"
mediaType = "application/atom"
baseName = "atom"
isPlainText = false
2021-02-16 01:46:37 +00:00
[outputs]
section = ["HTML", "RSS", "GEMATOM", "ATOM"]
[minify]
minifyOutput = true
disableXML = true
disableHTML = true