Compare commits
3 Commits
1bb6f19ed8
...
86eb7e55ab
Author | SHA1 | Date |
---|---|---|
hedy | 86eb7e55ab | |
hedy | 3a1b3b7cf7 | |
hedy | 74796f208c |
|
@ -51,7 +51,7 @@
|
|||
--accent-bg: #44475a;
|
||||
--accent-bg-light: #303035;
|
||||
--code-bg: #3e3e4b;
|
||||
--text: #eee;
|
||||
--text: #dfdfe6;
|
||||
--text-light: #b8b8c6;
|
||||
--non-text-light: #999fbf;
|
||||
|
||||
|
@ -80,6 +80,7 @@ body {
|
|||
* in their browser settings, so I help them.
|
||||
* But... that's barely an excuse for me to use a big font-stack, I know */
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||||
font-family: ui-sans-serif,system-ui,apple color emoji,segoe ui emoji,segoe ui symbol,"Segoe UI",Roboto,noto color emoji,sans-serif;
|
||||
font-size: var(--base-fontsize);
|
||||
line-height: var(--line-height);
|
||||
|
||||
|
@ -117,7 +118,7 @@ blockquote {
|
|||
margin-left: 0;
|
||||
padding-left: 1.25rem;
|
||||
border-left: 3px solid var(--text-light);
|
||||
opacity: .9;
|
||||
opacity: .82;
|
||||
}
|
||||
|
||||
table {
|
||||
|
|
75
config.toml
75
config.toml
|
@ -22,7 +22,7 @@ srcURLPrefix = "https://git.sr.ht/~hedy/site/tree/master/item/"
|
|||
logURLPrefix = "https://git.sr.ht/~hedy/site/log/master/item/"
|
||||
|
||||
shortTitle = "~hedy"
|
||||
suffixTitle = " | ~hedy" # prepended after page titles
|
||||
suffixTitle = " | ~hedy" # appended after specific page titles
|
||||
|
||||
geminiRoot = "gemini://home.hedy.dev"
|
||||
|
||||
|
@ -41,38 +41,40 @@ tag = "tags"
|
|||
posts = "/posts/:slug"
|
||||
|
||||
[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
|
||||
[[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
|
||||
|
||||
[markup.goldmark.renderer]
|
||||
# Allows HTML in Markdown
|
||||
# Allow HTML in Markdown
|
||||
unsafe = true
|
||||
|
||||
[mediaTypes]
|
||||
[mediaTypes."text/gemini"]
|
||||
suffixes = ["gmi"]
|
||||
[mediaTypes."application/atom+xml"]
|
||||
suffixes = ["xml"]
|
||||
|
||||
[outputFormats]
|
||||
[outputFormats.Gemini]
|
||||
|
@ -83,12 +85,12 @@ 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
|
||||
|
||||
[mediaTypes."application/atom+xml"]
|
||||
suffixes = ["xml"]
|
||||
|
||||
[outputFormats.GEMATOM]
|
||||
name = "GEMATOM"
|
||||
mediaType = "application/atom+xml"
|
||||
|
@ -110,14 +112,7 @@ isPlainText = false
|
|||
[outputs]
|
||||
section = ["HTML", "RSS", "GEMATOM", "ATOM"]
|
||||
|
||||
[webmentions]
|
||||
newDir = "public"
|
||||
oldDir = "old"
|
||||
webmentionsFile = "mentions.json"
|
||||
excludeSources = [
|
||||
"/tags/*",
|
||||
"/",
|
||||
]
|
||||
excludeDestinations = [
|
||||
"https://do.hedy.dev"
|
||||
]
|
||||
[minify]
|
||||
minifyOutput = true
|
||||
disableXML = true
|
||||
disableHTML = true
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
{{ define "content" -}}
|
||||
# {{ $.Title }}
|
||||
|
||||
{{ .Date.UTC.Format "Jan 02, 2006" }}{{ partial "lastmod.gmi" (dict "Page" . "Prefix" " (updated on " "Postfix" ")") }}
|
||||
|
||||
# {{ $.Title }}
|
||||
{{ partial "processed-content.gmi" . }}
|
||||
|
||||
***
|
||||
|
|
Loading…
Reference in New Issue