natter/default_environment/templates/html/document_element.dust
2023-10-27 18:15:53 -04:00

6 lines
185 B
Plaintext

{@select key=.type}
{@eq value="heading"}{>heading/}{/eq}
{@eq value="section"}{>section/}{/eq}
{@none}{!TODO: make this panic!}ERROR: Unrecognized type {.type}.{/none}
{/select}