<!DOCTYPE html> <html>

<head>
  <% if @converter.root.options[:encoding] %>
  <meta http-equiv="Content-type" content="text/html;charset=<%= @converter.root.options[:encoding] %>">
  <% end %>

<% extend ::Kramdown::Utils::Html title = '' h = @converter.root.children.find {|c| c.type == :header} if h

collector = lambda {|c| c.children.collect {|cc| cc.type == :text ? escape_html(cc.value, :text) : collector.call(cc)}.join('')}
title = collector.call(h)

end %>

  <title><%= title %></title>
  <meta name="generator" content="kramdown <%= ::Kramdown::VERSION %>" />
  <script 
   src='https://www.w3.org/Tools/respec/respec-w3c' 
   class='remove' async></script>
  <script class='remove'>
    var respecConfig = {
      specStatus: "ED",
      editors: [{
        name: "Your Name",
        url: "https://your-site.com",
      }],
      gitHub: "some-org/mySpec",
      shortName: "dahut",
      xref: "web-platform",
      testSuiteURI: "https://example.com/test/suite/",
    };
  </script>
</head>
<body>
  <section id='abstract'>
    <p>
      This is required.
    </p>
  </section>
  <section id='sotd'>
    <p>
      This is required.
    </p>
  </section>
  <section id='conformance'>
    <p>
      This is required for specifications that contain normative material.
    </p>
  </section>
  {{ content }}
</body>

</html>