data/templates/embedded.html.slim in asciidoctor-html5s-0.3.0 vs data/templates/embedded.html.slim in asciidoctor-html5s-0.4.0
- old
+ new
@@ -1,5 +1,5 @@
-- if !notitle && has_header?
+- if !notitle && header?
h1 id=id =header.title
- if node.sections? && (attr? :toc) && (attr 'toc-placement', 'auto') == 'auto'
include _toc.html
=content
- if footnotes? && !(attr? :nofootnotes)