Sha256: c3dc617bd5f7b86f5c2f975fe63cc696c9c5e75d3cd101006a0555082b69b227

Contents?: true

Size: 1.47 KB

Versions: 7

Compression:

Stored size: 1.47 KB

Contents

- bg_image = (attr? 'title-slide-background-image') ? (image_uri(attr 'title-slide-background-image')) : nil
- bg_video = (attr? 'title-slide-background-video') ? (media_uri(attr 'title-slide-background-video')) : nil
section.title(class = role
  data-state='title'
  data-transition=(attr 'title-slide-transition')
  data-transition-speed=(attr 'title-slide-transition-speed')
  data-background=(attr 'title-slide-background')
  data-background-size=(attr 'title-slide-background-size')
  data-background-image=bg_image
  data-background-video=bg_video
  data-background-video-loop=(attr 'title-slide-background-video-loop')
  data-background-video-muted=(attr 'title-slide-background-video-muted')
  data-background-opacity=(attr 'title-slide-background-opacity')
  data-background-iframe=(attr 'title-slide-background-iframe')
  data-background-color=(attr 'title-slide-background-color')
  data-background-repeat=(attr 'title-slide-background-repeat')
  data-background-position=(attr 'title-slide-background-position')
  data-background-transition=(attr 'title-slide-background-transition'))
  - if (_title_obj = doctitle partition: true, use_fallback: true).subtitle?
    h1=slice_text _title_obj.title, (_slice = header.option? :slice)
    h2=slice_text _title_obj.subtitle, _slice
  - else
    h1=@header.title
  - preamble = @document.find_by context: :preamble
  - unless preamble.nil? or preamble.length == 0
    div.preamble=preamble.pop.content
  - unless author.nil?
    p.author: small=author

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
asciidoctor-revealjs-4.1.0 templates/title_slide.html.slim
asciidoctor-revealjs-4.1.0.rc5 templates/title_slide.html.slim
asciidoctor-revealjs-4.1.0.rc4 templates/title_slide.html.slim
asciidoctor-revealjs-4.1.0.rc3 templates/title_slide.html.slim
asciidoctor-revealjs-4.1.0.rc2 templates/title_slide.html.slim
asciidoctor-revealjs-4.0.1 templates/title_slide.html.slim
asciidoctor-revealjs-4.0.0 templates/title_slide.html.slim