feat(resume): Allow toggling longform for main body contents

This commit is contained in:
Marty Oehme 2025-09-15 10:19:49 +02:00
parent 2684de9cc0
commit e8d9f678c2
Signed by: Marty
GPG key ID: 4E535BC19C61886E
3 changed files with 15 additions and 12 deletions

View file

@ -131,11 +131,11 @@
horizon_line()
};
#let section(title: "Section", entries: (), body) = {
#let section(title: "Section", entries: (), longform: true, body) = {
section_header(title)
if body == none or body == [] {
for e in entries {
entry(item: e)
entry(item: e, show_sublists: longform)
}
} else {
body