summaryrefslogtreecommitdiff
path: root/site/common.typ
diff options
context:
space:
mode:
Diffstat (limited to 'site/common.typ')
-rw-r--r--site/common.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/common.typ b/site/common.typ
index d724bc0..8906173 100644
--- a/site/common.typ
+++ b/site/common.typ
@@ -35,8 +35,8 @@
webroot + "static/" + path
}
-#let img(src) = {
- html.elem("img", attrs: (src: src, alt: ""))
+#let img(src, alt: "") = {
+ html.elem("img", attrs: (src: src, alt: alt))
}
#let anchor(name) = {