Sha256: 516d94d3ee46cbb443446f936b2d7d64d89701a20390c0436b46daecc3e37a23

Contents?: true

Size: 1.46 KB

Versions: 4

Compression:

Stored size: 1.46 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
  = generate_authors(@document)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
asciidoctor-revealjs-5.2.0 templates/title_slide.html.slim
asciidoctor-revealjs-5.1.0 templates/title_slide.html.slim
asciidoctor-revealjs-5.0.1 templates/title_slide.html.slim
asciidoctor-revealjs-5.0.0.rc1 templates/title_slide.html.slim