quarto-ext / typst-templates

Repository of Typst templates for Quarto
Creative Commons Zero v1.0 Universal
57 stars 5 forks source link

How to make a yaml argument optional #5

Open royfrancis opened 10 months ago

royfrancis commented 10 months ago

As an example, in this poster, if I do not want the university logo displayed, and I remove this key from the yaml file:

institution-logo: "./images/ncstate.png"

I get an error. Is it possible to make institution-logo an optional variable? ie; if it's specified, use it, else skip it.