2020-11-03 23:46:20 +00:00
|
|
|
baseURL = "https://seirdy.one/"
|
|
|
|
languageCode = "en-us"
|
|
|
|
title = "Seirdy's Home"
|
|
|
|
|
|
|
|
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>
|
2020-11-19 01:02:24 +00:00
|
|
|
uglyurls = true
|
2020-11-03 23:46:20 +00:00
|
|
|
pygmentsCodeFences = true
|
|
|
|
pygmentsUseClasses = true
|
2021-03-17 20:05:52 +00:00
|
|
|
disableKinds = ["taxonomy", "term"]
|
2020-11-03 23:46:20 +00:00
|
|
|
|
|
|
|
[params]
|
2020-12-19 21:52:24 +00:00
|
|
|
description = "Seirdy's Home: personal website and blog for Rohan Kumar, A.K.A. Seirdy"
|
2020-11-20 04:35:59 +00:00
|
|
|
src = "https://sr.ht/~seirdy/seirdy.one"
|
2020-12-22 00:38:26 +00:00
|
|
|
logUrlPrefix = "https://git.sr.ht/~seirdy/seirdy.one/log/master/item/"
|
2021-04-29 19:15:04 +00:00
|
|
|
copyright = "Copyright © 2021 Rohan Kumar"
|
2020-11-03 23:46:20 +00:00
|
|
|
dark = "auto"
|
2020-11-28 19:11:04 +00:00
|
|
|
highlight = false
|
2020-11-03 23:46:20 +00:00
|
|
|
|
|
|
|
[author]
|
|
|
|
name = "Rohan Kumar"
|
|
|
|
|
|
|
|
[menu]
|
|
|
|
[[menu.main]]
|
|
|
|
identifier = "posts"
|
|
|
|
name = "posts"
|
|
|
|
title = "posts"
|
2020-11-19 01:02:24 +00:00
|
|
|
url = "/posts.html"
|
2020-11-03 23:46:20 +00:00
|
|
|
weight = 10
|
|
|
|
|
|
|
|
[[menu.main]]
|
|
|
|
identifier = "about"
|
|
|
|
name = "about"
|
|
|
|
title = "about"
|
2020-11-19 01:02:24 +00:00
|
|
|
url = "/about.html"
|
2020-11-03 23:46:20 +00:00
|
|
|
weight = 20
|
|
|
|
|
2021-01-28 00:12:24 +00:00
|
|
|
[[menu.main]]
|
|
|
|
identifier = "resume"
|
|
|
|
name = "resume"
|
|
|
|
title = "resume"
|
|
|
|
url = "/resume.html"
|
|
|
|
weight = 30
|
|
|
|
|
2020-11-25 05:55:49 +00:00
|
|
|
[[menu.main]]
|
|
|
|
identifier = "rss"
|
|
|
|
name = "rss"
|
|
|
|
title = "rss"
|
|
|
|
url = "/posts/index.xml"
|
2021-01-28 00:12:24 +00:00
|
|
|
weight = 40
|
2020-11-25 05:55:49 +00:00
|
|
|
|
2020-11-03 23:46:20 +00:00
|
|
|
[permalinks]
|
|
|
|
posts = "/:year/:month/:day/:filename"
|
|
|
|
|
|
|
|
[markup.goldmark.renderer]
|
|
|
|
# Allows HTML in Markdown
|
|
|
|
unsafe = true
|
|
|
|
|
|
|
|
[markup.tableOfContents]
|
|
|
|
ordered = true
|
|
|
|
|
|
|
|
# lifted from https://git.sr.ht/~sircmpwn/drewdevault.com
|
|
|
|
[mediaTypes]
|
|
|
|
[mediaTypes."text/gemini"]
|
|
|
|
suffixes = ["gmi"]
|
2021-06-11 22:08:09 +00:00
|
|
|
[mediaTypes."application/manifest+json"]
|
|
|
|
suffixes = ["webmanifest"]
|
2020-11-03 23:46:20 +00:00
|
|
|
|
|
|
|
[outputFormats]
|
|
|
|
[outputFormats.Gemini]
|
|
|
|
name = "GEMTEXT"
|
|
|
|
isPlainText = true
|
|
|
|
isHTML = false
|
|
|
|
mediaType = "text/gemini"
|
|
|
|
protocol = "gemini://"
|
|
|
|
permalinkable = true
|
|
|
|
path = "gemini/"
|
|
|
|
|
|
|
|
[outputFormats.GEMRSS]
|
|
|
|
name = "GEMRSS"
|
|
|
|
isHTML = false
|
|
|
|
mediaType = "application/rss+xml"
|
|
|
|
protocol = "gemini://"
|
|
|
|
path = "gemini/"
|
|
|
|
|
|
|
|
[outputs]
|
|
|
|
section = ["HTML", "RSS", "GEMRSS"]
|
2020-12-24 01:02:43 +00:00
|
|
|
|
2021-01-10 04:48:42 +00:00
|
|
|
# https://github.com/nekr0z/static-webmentions
|
|
|
|
[webmentions]
|
|
|
|
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's I link to too often
|
|
|
|
excludeDestinations = [
|
|
|
|
"mailto:",
|
|
|
|
"gemini:",
|
|
|
|
"https://web.archive.org",
|
|
|
|
"https://lists.sr.ht/~seirdy/seirdy.one-comments",
|
|
|
|
"https://useplaintext.email/",
|
|
|
|
"https://seirdy.one",
|
|
|
|
]
|
|
|
|
|
2020-12-24 01:02:43 +00:00
|
|
|
[server]
|
|
|
|
[[server.headers]]
|
|
|
|
for = "/**.{css,png,webp,webm}"
|
|
|
|
[server.headers.values]
|
|
|
|
X-Content-Type-Options = "nosniff"
|
|
|
|
Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload"
|
|
|
|
Cache-Control = "max-age=31557600, immutable"
|
|
|
|
[[server.headers]]
|
|
|
|
for = "/**"
|
|
|
|
[server.headers.values]
|
|
|
|
X-Content-Type-Options = "nosniff"
|
|
|
|
Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload"
|
|
|
|
Referrer-Policy = "no-referrer"
|
|
|
|
X-XSS-Protection = "1; mode=block"
|
|
|
|
X-FROG-UNSAFE = "1"
|
|
|
|
X-UA-Compatible = "IE=edge"
|
2021-06-11 22:08:09 +00:00
|
|
|
Content-Security-Policy = "default-src 'none'; img-src 'self' https://seirdy.one data:; style-src 'self'; script-src 'self'; frame-ancestors 'none'; base-uri 'none'; form-action 'none'; manifest-src 'self'; upgrade-insecure-requests;"
|
2020-12-24 01:02:43 +00:00
|
|
|
Permissions-Policy = "accelerometer=(), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), usb=()"
|
|
|
|
Cache-Control = "max-age=120, no-transform"
|