<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>custom template</title>
    <script>window.type = '<%= type %>'</script>
  </head>
  <body>
    <div id="test-template">foo</div>
    <div id="root" />
  </body>
</html>
