# File lib/asciidoctor/backends/html5.rb, line 974 def template @template ||= @eruby.new <<-EOS <%#encoding:UTF-8%><% if @type == :xref %><span class="footnoteref">[<a class="footnote" href="#_footnote_<%= attr :index %>" title="View footnote."><%= attr :index %></a>]</span><% else %><span class="footnote"<% if @id %> id="_footnote_<%= @id %>"<% end %>>[<a id="_footnoteref_<%= attr :index %>" class="footnote" href="#_footnote_<%= attr :index %>" title="View footnote."><%= attr :index %></a>]</span><% end %> EOS end