Skip to content

Commit 0958cb0

Browse files
committed
Revert nav.rb
1 parent 8357040 commit 0958cb0

File tree

1 file changed

+1
-2
lines changed
  • resources/asciidoctor/lib/chunker

1 file changed

+1
-2
lines changed

resources/asciidoctor/lib/chunker/nav.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ class Nav
1111
attr_reader :header, :footer
1212

1313
def initialize(doc)
14-
1514
body = nav_body doc
1615
@header = Asciidoctor::Block.new(doc, :pass, source: <<~HTML)
17-
<div class="navheader" data-foo="#{doc.attr('current-url')}" data-out="#{doc.attr('outdir')}" data-subdoc="#{doc.attr('subdoc')}">
16+
<div class="navheader">
1817
#{body}
1918
</div>
2019
HTML

0 commit comments

Comments
 (0)