2022-04-29 15:59:14 +00:00
baseURL = "https://seirdy.one/" # just the default, I have mirrors
2020-11-03 23:46:20 +00:00
languageCode = "en-us"
2023-11-15 07:22:10 +00:00
title = "Seirdy’ s Home"
2022-05-24 23:33:16 +00:00
timeZone = "UTC"
summaryLength = 150
2020-11-03 23:46:20 +00:00
enableInlineShortcodes = true
2020-12-24 01:02:43 +00:00
enableGitInfo = true
2020-12-24 05:48:27 +00:00
disableHugoGeneratorInject = true # I inject it explicitly at the BOTTOM of <head>
2022-05-27 01:57:49 +00:00
uglyurls = false
pygmentsCodeFences = false
pygmentsUseClasses = false
2021-03-17 20:05:52 +00:00
disableKinds = [ "taxonomy" , "term" ]
2020-11-03 23:46:20 +00:00
[ params ]
2024-03-21 01:34:46 +00:00
description = "My personal IndieWeb site. I write about and develop software to promote user autonomy. Topics include accessibility, security, privacy, and software freedom."
src = "https://sr.ht/~seirdy/seirdy.one/"
canonicalBaseURL = "https://seirdy.one" # I have mirrors with different baseURLs
webmentionEndpoint = "https://collector.seirdy.one/webmentions/receive"
logUrlPrefix = "https://git.sr.ht/~seirdy/seirdy.one/log/master/item/"
copyright = "Copyright © 2023 Rohan “Seirdy” Kumar"
dark = "auto"
highlight = false
icon = "/favicon.svg"
indieAuth = "https://indielogin.com/auth"
# hub = "https://websubhub.com/hub"
2020-11-03 23:46:20 +00:00
2022-05-12 04:31:27 +00:00
[ frontmatter ]
2024-03-21 01:34:46 +00:00
lastmod = [ 'lastmod' , ':git' , 'date' , 'publishDate' ]
2022-05-12 04:31:27 +00:00
2020-11-03 23:46:20 +00:00
[ author ]
2024-03-21 01:34:46 +00:00
name = "Seirdy"
url = "https://seirdy.one/"
first = "Rohan"
last = "Kumar"
nick = "Seirdy"
email = "seirdy@seirdy.one"
2024-10-23 04:29:16 +00:00
fediverse = "@Seirdy@pleroma.envs.net"
2020-11-03 23:46:20 +00:00
[ menu ]
2024-03-21 01:34:46 +00:00
[ [ menu . main ] ]
identifier = "articles"
name = "Articles"
title = "articles"
url = "/posts/"
weight = 10
[ [ menu . main ] ]
identifier = "notes"
name = "Notes"
title = "notes"
url = "/notes/"
weight = 15
[ [ menu . main ] ]
identifier = "bookmarks"
name = "Bookmarks"
title = "bookmarks"
url = "/bookmarks/"
weight = 20
[ [ menu . main ] ]
identifier = "about"
name = "About"
title = "about"
url = "/about/"
weight = 30
[ [ menu . main ] ]
identifier = "meta"
name = "Meta"
title = "meta"
url = "/meta/"
weight = 40
[ [ menu . main ] ]
identifier = "Support"
name = "Support"
title = "support"
url = "/support/"
weight = 50
2023-10-28 19:25:17 +00:00
2020-11-03 23:46:20 +00:00
[ permalinks ]
2024-03-21 01:34:46 +00:00
posts = "/posts/:year/:month/:day/:filename"
notes = "/notes/:year/:month/:day/:filename"
2020-11-03 23:46:20 +00:00
[ markup . goldmark . renderer ]
2024-03-21 01:34:46 +00:00
xhtml = true
unsafe = true
2020-11-03 23:46:20 +00:00
[ markup . tableOfContents ]
2024-03-21 01:34:46 +00:00
ordered = true
startLevel = 2
endLevel = 3
2020-11-03 23:46:20 +00:00
# lifted from https://git.sr.ht/~sircmpwn/drewdevault.com
[ mediaTypes ]
[ mediaTypes . "text/gemini" ]
2024-03-21 01:34:46 +00:00
suffixes = [ "gmi" ]
2021-06-11 22:08:09 +00:00
[ mediaTypes . "application/manifest+json" ]
2024-03-21 01:34:46 +00:00
suffixes = [ "webmanifest" ]
2020-11-03 23:46:20 +00:00
[ outputFormats ]
2024-03-21 01:34:46 +00:00
[ outputFormats . Gemtext ]
name = "GEMTEXT"
isPlainText = true
isHTML = false
mediaType = "text/gemini"
protocol = "gemini://"
permalinkable = true
path = "gemini/"
[ outputFormats . atom ]
baseName = "atom"
isPlainText = true
mediaType = "application/xml"
[ outputformats . html ]
mediaType = "application/xhtml+xml"
2020-11-03 23:46:20 +00:00
[ outputs ]
2024-03-21 01:34:46 +00:00
home = [ "HTML" , "atom" , "GEMTEXT" , "RSS" ]
section = [ "HTML" , "atom" , "RSS" ]
posts = [ "HTML" , "atom" , "RSS" ]
notes = [ "HTML" , "atom" , "RSS" ]
about = [ "HTML" , "atom" , "RSS" ]
meta = [ "HTML" , "atom" , "RSS" ]
2020-12-24 01:02:43 +00:00
2023-11-28 03:36:36 +00:00
[ security ]
2024-03-21 01:34:46 +00:00
[ security . funcs ]
getenv = [ '^JOB_URL$' ]
2023-11-28 03:36:36 +00:00
2021-01-10 04:48:42 +00:00
# https://github.com/nekr0z/static-webmentions
[ webmentions ]
2024-03-21 01:34:46 +00:00
newDir = "public"
oldDir = "old"
webmentionsFile = "mentions.json"
excludeSources = [
"/tags/*" , # only trailing * are supported at the moment
"/posts/*" , # this only excludes /posts/index.html, not /posts/somepost/
"/" , # same as "/index.html"
]
# addresses that we don't want to send webmentions to
# other schemes and stuff that I link to too often
excludeDestinations = [
"mailto:" ,
"gemini:" ,
"https://web.archive.org" ,
"https://lists.sr.ht/~seirdy/seirdy.one-comments" ,
"https://seirdy.one" ,
]
2022-02-23 05:48:10 +00:00
[ imaging . exif ]
2024-03-21 01:34:46 +00:00
# Regexp matching the fields you want to Exclude from the (massive) set of Exif info
# available. As we cache this info to disk, this is for performance and
# disk space reasons more than anything.
# If you want it all, put ".*" in this config setting.
# Note that if neither this or ExcludeFields is set, Hugo will return a small
# default set: GPS|Exif|Exposure[M|P|B]|Contrast|Resolution|Sharp|JPEG|Metering|Sensing|Saturation|ColorSpace|Flash|WhiteBalance
includeFields = ""
# Regexp matching the Exif fields you want to exclude. This may be easier to use
# than IncludeFields above, depending on what you want.
excludeFields = ".*"
2022-05-27 01:57:49 +00:00
2022-08-03 01:24:02 +00:00
# don't minify html but minify other resources
# Don't minify atom feeds because it messes up whitespace in entry contents.
2022-04-27 00:15:42 +00:00
[ minify ]
2024-03-21 01:34:46 +00:00
minifyOutput = true
disableXML = true
disableHTML = true
[ segments ]
[ segments . posts ]
[ [ segments . posts . includes ] ]
output = 'html'
path = '{/posts,/posts/**}'
[ [ segments . notes . includes ] ]
output = 'html'
path = '{/notes,/notes/**}'
[ [ segments . entries . includes ] ]
output = 'html'
path = '{/notes,/notes/**,/posts,/posts/**}'