aboutsummaryrefslogtreecommitdiff
path: root/global/common.typ
diff options
context:
space:
mode:
Diffstat (limited to 'global/common.typ')
-rw-r--r--global/common.typ7
1 files changed, 4 insertions, 3 deletions
diff --git a/global/common.typ b/global/common.typ
index f5f5c6d..d1a0aaa 100644
--- a/global/common.typ
+++ b/global/common.typ
@@ -10,6 +10,7 @@
#let _asset-paths = state("asset-paths", ())
#let srcurl = "https://git.kumardamani.net/kumardamani.net"
+#let baseurl = "https://kumardamani.net"
// Deployment info, overwritten by CI per build:
// printf '{ "date": "%s", "link": "%s" }\n' \
@@ -183,6 +184,7 @@
html.link(rel: "icon", href: base + "favicon.ico")
html.elem("link", attrs: (rel: "preload", href: base + "extlink.svg", "as": "image"))
html.link(rel: "stylesheet", href: base + "main.css")
+ html.link(rel: "alternate", type: "application/rss+xml", title: site + " RSS", href: base + "feed.xml")
for ss in stylesheets {
html.link(rel: "stylesheet", href: base + ss)
@@ -227,10 +229,9 @@
html.main(body)
html.hr()
html.footer({
- html.span(class: "updated")[Updated: #ci.date.]
+ html.span(class: "updated")[\[Updated: #ci.date.\]]
html.span(class: "logs")[
- #extlink(srcurl)[site source] |
- #extlink(ci.link)[logs] for nerds!
+ \[For nerds: #extlink(srcurl)[site source], #extlink(ci.link)[logs], #link(base + "feed.xml")[rss]\]
]
})
})