Fix header

This commit is contained in:
Mark 2025-02-10 19:29:49 -08:00
parent 8ef2d1cae8
commit ba374a5ee2

View File

@ -44,6 +44,14 @@
by = text(size: 10pt, [Prepared by #by on #date])
}
let sub = ()
if (by != none) {
sub.push(by)
}
if (subtitle != none) {
sub.push(subtitle)
}
// Main title
align(
center,
@ -61,8 +69,7 @@
// Title
text(size: 20pt, title),
// Subtitle
if (by != none) { text(size: 10pt, by) },
if (subtitle != none) { text(size: 10pt, subtitle) },
..sub,
line(length: 100%, stroke: 0.2mm),
),
),