class Asciidoctor::HTML5::EmbeddedTemplate
def template
def template @template ||= @eruby.new <<-EOS #encoding:UTF-8%><% unless notitle || !has_header? %><h1#{id}><%= header.title %></h1> end %><%= content %> unless !footnotes? || (attr? :nofootnotes) %><div id="footnotes"> <hr> <% footnotes.each do |fn| %> <div class="footnote" id="_footnote_<%= fn.index %>"> <a href="#_footnoteref_<%= fn.index %>"><%= fn.index %></a>. <%= fn.text %> </div> <% end %> div><% end %> EOS end