fix: allow leaving logo-image empty
Gitea Action for checking typst compilation / run-ci-linux (push) Successful in 2m9s
Details
Gitea Action for checking typst compilation / run-ci-linux (push) Successful in 2m9s
Details
This commit is contained in:
parent
5d7d65a414
commit
415fafc7f4
|
@ -300,7 +300,11 @@
|
||||||
// we need two, so make both half the page width
|
// we need two, so make both half the page width
|
||||||
columns: (50%, 50%),
|
columns: (50%, 50%),
|
||||||
// left align logo of ABB
|
// left align logo of ABB
|
||||||
align(left, image(style.header.logo-image, height: style.header.logo-height)),
|
if style.header.logo-image == none {
|
||||||
|
[]
|
||||||
|
} else if style.header.logo-image.len() > 0 {
|
||||||
|
align(left, image(style.header.logo-image, height: style.header.logo-height))
|
||||||
|
},
|
||||||
// right align logo of DHBW
|
// right align logo of DHBW
|
||||||
align(right, image("res/DHBW.svg", height: style.header.logo-height)))
|
align(right, image("res/DHBW.svg", height: style.header.logo-height)))
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,11 @@
|
||||||
glossary: yaml("glossary.yml"),
|
glossary: yaml("glossary.yml"),
|
||||||
appendices: include "appendix.typ",
|
appendices: include "appendix.typ",
|
||||||
),
|
),
|
||||||
|
style: (
|
||||||
|
header: (
|
||||||
|
logo-image: ""
|
||||||
|
)
|
||||||
|
)
|
||||||
))
|
))
|
||||||
|
|
||||||
#import "@preview/wrap-it:0.1.0": wrap-content
|
#import "@preview/wrap-it:0.1.0": wrap-content
|
||||||
|
|
Loading…
Reference in New Issue