lib.typ: make title in pz-lb-template optional
Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
9
lib.typ
9
lib.typ
@ -381,9 +381,7 @@
|
|||||||
grid(
|
grid(
|
||||||
columns: (1fr, 1fr, 1fr),
|
columns: (1fr, 1fr, 1fr),
|
||||||
gutter: 0.3fr,
|
gutter: 0.3fr,
|
||||||
[#bold[Курс] #uline(author.course)],
|
[#bold[Курс] #uline(author.course)], [#bold[Група] #uline([#edu_program\-#author.group])], [#bold[Семестр] #uline(author.semester)],
|
||||||
[#bold[Група] #uline([#edu_program\-#author.group])],
|
|
||||||
[#bold[Семестр] #uline(author.semester)],
|
|
||||||
)
|
)
|
||||||
|
|
||||||
linebreak()
|
linebreak()
|
||||||
@ -688,7 +686,7 @@
|
|||||||
|
|
||||||
з дисципліни: "#uni.subjects.at(subject, default: "UNKNOWN SUBJECT, PLEASE OPEN AN ISSUE")"
|
з дисципліни: "#uni.subjects.at(subject, default: "UNKNOWN SUBJECT, PLEASE OPEN AN ISSUE")"
|
||||||
|
|
||||||
з теми: "#title"
|
#if title != none [з теми: "#title"]
|
||||||
|
|
||||||
\ \ \ \
|
\ \ \ \
|
||||||
|
|
||||||
@ -739,7 +737,8 @@
|
|||||||
|
|
||||||
pagebreak(weak: true)
|
pagebreak(weak: true)
|
||||||
|
|
||||||
heading(title)
|
if title != none [#heading(title)]
|
||||||
|
|
||||||
doc
|
doc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user