aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGordon Woodhull <[email protected]>2024-08-08 12:18:21 -0400
committerGitHub <[email protected]>2024-08-08 09:18:21 -0700
commit2575490c174c0201c0ece3321ae6d89ed5b3c498 (patch)
tree44da9ade42c38d240a89fc5bbf46439623aa5dcb /data
parentb2755f77ba2588c6bf394f8ca0bf5042ec5814e9 (diff)
typst template: move header-includes before show doc (#10070)
Closes #9996.
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.typst8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/templates/default.typst b/data/templates/default.typst
index c5e602e4a..e2b154221 100644
--- a/data/templates/default.typst
+++ b/data/templates/default.typst
@@ -20,6 +20,10 @@ $else$
$template.typst()$
$endif$
+$for(header-includes)$
+$header-includes$
+
+$endfor$
#show: doc => conf(
$if(title)$
title: [$title$],
@@ -76,10 +80,6 @@ $endif$
doc,
)
-$for(header-includes)$
-$header-includes$
-
-$endfor$
$for(include-before)$
$include-before$