natter/default_environment/templates/html/table.dust

6 lines
242 B
Plaintext
Raw Normal View History

2023-12-22 22:47:31 +00:00
<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>