summaryrefslogtreecommitdiff
path: root/data/templates/default.typst
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2023-12-10 23:48:00 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2023-12-11 10:18:37 -0800
commitea9317c73d508d0ce7993db66edb239a3e968cdb (patch)
tree85d41568c6067b02f6d202fe8e9dcf41929d1d6b /data/templates/default.typst
parent3039f99f3b4146312d4c4697f56f0d614b0e8249 (diff)
Typst template fixes.
Diffstat (limited to 'data/templates/default.typst')
-rw-r--r--data/templates/default.typst17
1 files changed, 10 insertions, 7 deletions
diff --git a/data/templates/default.typst b/data/templates/default.typst
index 55864de92..935ae602c 100644
--- a/data/templates/default.typst
+++ b/data/templates/default.typst
@@ -23,19 +23,22 @@ $if(author)$
authors: (
$for(author)$
$if(author.name)$
- ( name: [$author.name$],
- affiliation: [$author.affiliation$],
- email: [$author.email$] ),
+ ( name: "$author.name$",
+ affiliation: "$author.affiliation$",
+ email: "$author.email$" ),
$else$
- ( name: [$author$],
- affiliation: [],
- email: [] ),
+ ( name: "$author$",
+ affiliation: "",
+ email: "" ),
$endif$
$endfor$
),
$endif$
+$if(keywords)$
+ keywords: ($for(keywords)$$keyword$$sep$,$endfor$),
+$endif$
$if(date)$
- date: [$date$],
+ date: "$date$",
$endif$
$if(lang)$
lang: "$lang$",