Commit 6b5aafc

HPCesia <me@hpcesia.com>
2026-03-13 08:58:24
Fix blockquote attribution always render
1 parent 1ef075a
Changed files (1)
src
contents
_lib
templates
src/contents/_lib/templates/blockquote.typ
@@ -3,7 +3,9 @@
 #let blockquote-template-html(body) = {
   show quote.where(block: true): it => {
     html.blockquote(it.body)
-    html.elem("p", attrs: (class: "blockquote-attribution"), it.attribution)
+    if it.attribution != none {
+      html.elem("p", attrs: (class: "blockquote-attribution"), it.attribution)
+    }
   }
   body
 }