diff --git a/src/style.typ b/src/style.typ index 1cb9dc7..e5397a3 100644 --- a/src/style.typ +++ b/src/style.typ @@ -300,7 +300,11 @@ // we need two, so make both half the page width columns: (50%, 50%), // 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 align(right, image("res/DHBW.svg", height: style.header.logo-height))) diff --git a/template/main.typ b/template/main.typ index 8d78ca1..a411caf 100644 --- a/template/main.typ +++ b/template/main.typ @@ -31,6 +31,11 @@ glossary: yaml("glossary.yml"), appendices: include "appendix.typ", ), + style: ( + header: ( + logo-image: "" + ) + ) )) #import "@preview/wrap-it:0.1.0": wrap-content