Add templates for the ast nodes.
This commit is contained in:
5
default_environment/templates/html/document_element.dust
Normal file
5
default_environment/templates/html/document_element.dust
Normal file
@@ -0,0 +1,5 @@
|
||||
{@select key=.type}
|
||||
{@eq value="heading"}{>heading/}{/eq}
|
||||
{@eq value="section"}{>section/}{/eq}
|
||||
{@none}{!TODO: make this panic!}ERROR: Unrecognized type {.type}.{/none}
|
||||
{/select}
|
||||
Reference in New Issue
Block a user