Sha256: d96b668163f6615ff1266729aa0680aad5b2914a909714748fff25976145e167

Contents?: true

Size: 369 Bytes

Versions: 9

Compression:

Stored size: 369 Bytes

Contents

- unless sections.empty?
  - toclevels ||= (document.attr 'toclevels', DEFAULT_TOCLEVELS).to_i
  - slevel = section_level sections.first
  ol.toc-list class="level-#{slevel}"
    - sections.each do |sec|
      li
        a href="##{sec.id}" =section_title sec
        - if (sec.level < toclevels) && (child_toc = converter.convert sec, 'outline')
          = child_toc

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
asciidoctor-html5s-0.1.0.beta.11 data/templates/outline.html.slim
asciidoctor-html5s-0.1.0.beta.10 data/templates/outline.html.slim
asciidoctor-html5s-0.1.0.beta.9 data/templates/outline.html.slim
asciidoctor-html5s-0.1.0.beta.8 data/templates/outline.html.slim
asciidoctor-html5s-0.1.0.beta.7 data/templates/outline.html.slim
asciidoctor-html5s-0.1.0.beta.6 data/templates/outline.html.slim
asciidoctor-html5s-0.1.0.beta.5 data/templates/outline.html.slim
asciidoctor-html5s-0.1.0.beta.4 data/templates/outline.html.slim
asciidoctor-html5s-0.1.0.beta.3 data/templates/outline.html.slim