aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhar7an <[email protected]>2025-12-02 08:56:10 +0000
committerGitHub <[email protected]>2025-12-02 09:56:10 +0100
commitbbedaadc4d78a5676114e1359154bab81b0ff561 (patch)
tree929d1300259e05648ff5a769d35c48beabf63154
parent568dab14533940ecee16824097400f1eabf13869 (diff)
Typst template: Fix keywords usage. (#11317)
Previously the template turned any `keywords` defined in Pandoc metadata into empty objects due to a misnomer in a loop variable. This in turn was rejected by the Typst compiler as invalid syntax, making document generation with keywords impossible.
-rw-r--r--data/templates/default.typst2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/default.typst b/data/templates/default.typst
index 8141096c3..a499cd8db 100644
--- a/data/templates/default.typst
+++ b/data/templates/default.typst
@@ -65,7 +65,7 @@ $endfor$
),
$endif$
$if(keywords)$
- keywords: ($for(keywords)$$keyword$$sep$,$endfor$),
+ keywords: ($for(keywords)$$keywords$$sep$,$endfor$),
$endif$
$if(date)$
date: [$date$],