natter/default_environment/templates/html/table.dust
2023-12-22 18:06:55 -05:00

6 lines
242 B
Plaintext

<table class="org_table">{#.children}{@select key=.type}
{@eq value="head"}{>table_head/}{/eq}
{@eq value="body"}{>table_body/}{/eq}
{@none}{!TODO: make this panic!}ERROR: Unrecognized type {.type}.{/none}
{/select}{/.children}</table>