diff options
Diffstat (limited to 'data/templates/template.typst')
| -rw-r--r-- | data/templates/template.typst | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/data/templates/template.typst b/data/templates/template.typst index 009968ba3..e1ac3ec37 100644 --- a/data/templates/template.typst +++ b/data/templates/template.typst @@ -1,6 +1,7 @@ #let conf( title: none, - authors: none, + authors: (), + keywords: (), date: none, abstract: none, cols: 1, @@ -13,6 +14,11 @@ sectionnumbering: none, doc, ) = { + set document( + title: title, + author: authors.map(author => author.name), + keywords: keywords, + ) set page( paper: paper, margin: margin, @@ -31,7 +37,7 @@ ]] } - if authors != none { + if authors != none and authors != [] { let count = authors.len() let ncols = calc.min(count, 3) grid( |
