fix: can't have any content (including state) before set/show rules

This commit is contained in:
swaits committed 2024-10-18 16:43:37 -06:00
1 parent 5b32cfb26b
commit 85174a0855
2 files changed
+3 -3

No files matched your search

Binary file not shown.
+3 -3
View File
@@ -17,9 +17,6 @@
thumbnail: none, // check out https://qrframe.kylezhe.ng/ for QR code generation thumbnail: none, // check out https://qrframe.kylezhe.ng/ for QR code generation
body body
) = { ) = {
// Save our settings needed in other functions
__set("heading_font", heading_font)
// Document setup, mostly metadata in a PDF // Document setup, mostly metadata in a PDF
set document( set document(
title: "Résumé/CV of " + name, title: "Résumé/CV of " + name,
@@ -107,6 +104,9 @@
}, },
) )
// Save our settings needed in other functions
__set("heading_font", heading_font)
// Main Headline // Main Headline
text(size: HEADLINE_NAME_SIZE, weight: HEADLINE_NAME_WEIGHT, font: heading_font)[#smallcaps(name)] text(size: HEADLINE_NAME_SIZE, weight: HEADLINE_NAME_WEIGHT, font: heading_font)[#smallcaps(name)]
h(1fr) h(1fr)