diff options
| author | har7an <[email protected]> | 2025-12-02 08:56:10 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-02 09:56:10 +0100 |
| commit | bbedaadc4d78a5676114e1359154bab81b0ff561 (patch) | |
| tree | 929d1300259e05648ff5a769d35c48beabf63154 /data | |
| parent | 568dab14533940ecee16824097400f1eabf13869 (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.
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/default.typst | 2 |
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$], |
