feat(resume): Allow toggling longform for main body contents
This commit is contained in:
parent
2684de9cc0
commit
e8d9f678c2
3 changed files with 15 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue