Sha256: 6e8f56a5612fc0bacfd60a799ebafb630746947426c465de590c534d15921bcd

Contents?: true

Size: 599 Bytes

Versions: 16

Compression:

Stored size: 599 Bytes

Contents

/ This template is used only for toc::[] macro; for document and preamble TOC
/ see document.html, preamble.html and _toc.html.
- if document.attr?(:toc) && document.sections?
  - toc_id = id || ('toc' if document.embedded? || !document.attr?('toc-placement'))
  nav id=toc_id class=(attr :role, (document.attr 'toc-class', 'toc')) role='doc-toc'
    h level=(level + 2) id=("#{toc_id}-title" if toc_id)
      =(title || (document.attr 'toc-title'))
    / Renders outline.html.
    = converter.convert document, 'outline', :toclevels=>((attr :levels).to_i if attr? :levels)
- else
  /! toc disabled

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
asciidoctor-html5s-0.5.1 data/templates/toc.html.slim
asciidoctor-html5s-0.5.0 data/templates/toc.html.slim
asciidoctor-html5s-0.4.1 data/templates/toc.html.slim
asciidoctor-html5s-0.4.0 data/templates/toc.html.slim
asciidoctor-html5s-0.3.0 data/templates/toc.html.slim
asciidoctor-html5s-0.2.1 data/templates/toc.html.slim
asciidoctor-html5s-0.2.0 data/templates/toc.html.slim
asciidoctor-html5s-0.1.0 data/templates/toc.html.slim
asciidoctor-html5s-0.1.0.beta.11 data/templates/toc.html.slim
asciidoctor-html5s-0.1.0.beta.10 data/templates/toc.html.slim
asciidoctor-html5s-0.1.0.beta.9 data/templates/toc.html.slim
asciidoctor-html5s-0.1.0.beta.8 data/templates/toc.html.slim
asciidoctor-html5s-0.1.0.beta.7 data/templates/toc.html.slim
asciidoctor-html5s-0.1.0.beta.6 data/templates/toc.html.slim
asciidoctor-html5s-0.1.0.beta.5 data/templates/toc.html.slim
asciidoctor-html5s-0.1.0.beta.4 data/templates/toc.html.slim