Skip to content

Commit

Permalink
Fixed upstream issue Sematre#21
Browse files Browse the repository at this point in the history
  • Loading branch information
Morwdan committed Dec 28, 2024
1 parent 0bc8f4c commit b68b1fd
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions src/lib.typ
Original file line number Diff line number Diff line change
Expand Up @@ -534,10 +534,17 @@
)

// Configure page and text properties.
set document(
title: subject,
author: sender.name,
)
if sender.name != none {
set document(
title: subject,
author: sender.name
)
}
else {
set document(
title: subject,
)
}

set text(font: font, hyphenate: false)

Expand Down

0 comments on commit b68b1fd

Please # to comment.