fix: make variant in authors truly optional
In `pz-lb` template the `authors.variant` may be omitted now.
This commit is contained in:
2
lib.typ
2
lib.typ
@ -709,7 +709,7 @@
|
|||||||
ст. гр. #edu_program\-#author.group\
|
ст. гр. #edu_program\-#author.group\
|
||||||
#author.name\
|
#author.name\
|
||||||
]
|
]
|
||||||
if author.variant != none [Варіант: №#author.variant]
|
if "variant" in author.keys() and author.variant != none [Варіант: №#author.variant]
|
||||||
} else [
|
} else [
|
||||||
Виконали:\
|
Виконали:\
|
||||||
ст. гр. #edu_program\-#authors.at(0).group\
|
ст. гр. #edu_program\-#authors.at(0).group\
|
||||||
|
Reference in New Issue
Block a user