Commit 6b5aafc
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
}