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