Sha256: bdd041386f42ba5c6bfcdf8ccba5c0313c75cbe4a9778d8cbf0886a79b64efe1

Contents?: true

Size: 1.11 KB

Versions: 5

Compression:

Stored size: 1.11 KB

Contents

- hide_title = false
if node.$level() == 1
  section
    section(id=node.$id(),data-transition=node.$attr("data-transition", ""),data-transition-speed=node.$attr("data-transition-speed", ""),data-background=node.$attr("data-background", ""),data-background-size=node.$attr("data-background-size", ""),data-background-repeat=node.$attr("data-background-repeat", ""),data-background-transition=node.$attr("data-background-transition", ""))
      if !hide_title
        h2 !{node.$title()}
        each block in (node.$blocks()['$-'](node.$sections()))
          | !{block["$convert"]()}
      each subsection in node.$sections()
        | !{subsection["$convert"]()}
else
  section(id=node.$id(),data-transition=(node.$attr('data-transition', "")),data-transition-speed=(node.$attr('data-transition-speed', "")),data-background=(node.$attr('data-background', "")),data-background-size=(node.$attr('data-background-size', "")),data-background-repeat=(node.$attr('data-background-repeat', "")),data-background-transition=(node.$attr('data-background-transition', "")))
    if !hide_title
      h2 !{node.$title()}
    | !{node.$content()}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
asciidoctor-revealjs-1.0.4 templates/jade/section.jade
asciidoctor-revealjs-1.0.3 templates/jade/section.jade
asciidoctor-revealjs-1.0.2 templates/jade/section.jade
asciidoctor-revealjs-1.0.1 templates/jade/section.jade
asciidoctor-revealjs-1.0.0 templates/jade/section.jade