natter/default_environment/templates/html/document_element.dust

6 lines
185 B
Plaintext
Raw Normal View History

2023-10-27 22:15:53 +00:00
{@select key=.type}
{@eq value="heading"}{>heading/}{/eq}
{@eq value="section"}{>section/}{/eq}
{@none}{!TODO: make this panic!}ERROR: Unrecognized type {.type}.{/none}
{/select}