diff --git a/default_environment/templates/html/element.dust b/default_environment/templates/html/element.dust
index eab5335..81f0ca7 100644
--- a/default_environment/templates/html/element.dust
+++ b/default_environment/templates/html/element.dust
@@ -1 +1,27 @@
-element
+{@select key=.type}
+ {@eq value="paragraph"}{>paragraph/}{/eq}
+ {@eq value="plain_list"}{>plain_list/}{/eq}
+ {@eq value="center_block"}{>center_block/}{/eq}
+ {@eq value="quote_block"}{>quote_block/}{/eq}
+ {@eq value="special_block"}{>special_block/}{/eq}
+ {@eq value="dynamic_block"}{>dynamic_block/}{/eq}
+ {@eq value="footnote_definition"}{>footnote_definition/}{/eq}
+ {@eq value="comment"}{>comment/}{/eq}
+ {@eq value="drawer"}{>drawer/}{/eq}
+ {@eq value="property_drawer"}{>property_drawer/}{/eq}
+ {@eq value="table"}{>table/}{/eq}
+ {@eq value="verse_block"}{>verse_block/}{/eq}
+ {@eq value="comment_block"}{>comment_block/}{/eq}
+ {@eq value="example_block"}{>example_block/}{/eq}
+ {@eq value="export_block"}{>export_block/}{/eq}
+ {@eq value="src_block"}{>src_block/}{/eq}
+ {@eq value="clock"}{>clock/}{/eq}
+ {@eq value="diary_sexp"}{>diary_sexp/}{/eq}
+ {@eq value="planning"}{>planning/}{/eq}
+ {@eq value="fixed_width_area"}{>fixed_width_area/}{/eq}
+ {@eq value="horizontal_rule"}{>horizontal_rule/}{/eq}
+ {@eq value="keyword"}{>keyword/}{/eq}
+ {@eq value="babel_call"}{>babel_call/}{/eq}
+ {@eq value="latex_environment"}{>latex_environment/}{/eq}
+ {@none}{!TODO: make this panic!}ERROR: Unrecognized type {.type}.{/none}
+{/select}
diff --git a/default_environment/templates/html/object.dust b/default_environment/templates/html/object.dust
index e2f6b77..e1118aa 100644
--- a/default_environment/templates/html/object.dust
+++ b/default_environment/templates/html/object.dust
@@ -1 +1,30 @@
-object
+{@select key=.type}
+ {@eq value="bold"}{>bold/}{/eq}
+ {@eq value="italic"}{>italic/}{/eq}
+ {@eq value="underline"}{>underline/}{/eq}
+ {@eq value="strike_through"}{>strike_through/}{/eq}
+ {@eq value="code"}{>code/}{/eq}
+ {@eq value="verbatim"}{>verbatim/}{/eq}
+ {@eq value="plain_text"}{>plain_text/}{/eq}
+ {@eq value="regular_link"}{>regular_link/}{/eq}
+ {@eq value="radio_link"}{>radio_link/}{/eq}
+ {@eq value="radio_target"}{>radio_target/}{/eq}
+ {@eq value="plain_link"}{>plain_link/}{/eq}
+ {@eq value="angle_link"}{>angle_link/}{/eq}
+ {@eq value="org_macro"}{>org_macro/}{/eq}
+ {@eq value="entity"}{>entity/}{/eq}
+ {@eq value="latex_fragment"}{>latex_fragment/}{/eq}
+ {@eq value="export_snippet"}{>export_snippet/}{/eq}
+ {@eq value="footnote_reference"}{>footnote_reference/}{/eq}
+ {@eq value="citation"}{>citation/}{/eq}
+ {@eq value="citation_reference"}{>citation_reference/}{/eq}
+ {@eq value="inline_babel_call"}{>inline_babel_call/}{/eq}
+ {@eq value="inline_source_block"}{>inline_source_block/}{/eq}
+ {@eq value="line_break"}{>line_break/}{/eq}
+ {@eq value="target"}{>target/}{/eq}
+ {@eq value="statistics_cookie"}{>statistics_cookie/}{/eq}
+ {@eq value="subscript"}{>subscript/}{/eq}
+ {@eq value="superscript"}{>superscript/}{/eq}
+ {@eq value="timestamp"}{>timestamp/}{/eq}
+ {@none}{!TODO: make this panic!}ERROR: Unrecognized type {.type}.{/none}
+{/select}