Sha256: 1d465eb60e2d13e71f8c9e723a90d10dc678d2ba729458577f74fc98e0563c17

Contents?: true

Size: 988 Bytes

Versions: 4

Compression:

Stored size: 988 Bytes

Contents

- if header?
  - unless notitle
    h1 =header.title
  - if [:author, :revnumber, :revdate, :revremark].any? {|a| attr? a }
    .details
      - if attr? :author
        span.author#author =(attr :author)
        br
        - if attr? :email
          span.email#email =sub_macros(attr :email)
          br
        - if (authorcount = (attr :authorcount).to_i) > 1
          - (2..authorcount).each do |idx|
            span.author id="author#{idx}" =(attr "author_#{idx}")
            br
            - if attr? "email_#{idx}"
              span.email id="email#{idx}" =sub_macros(attr "email_#{idx}")
      - if attr? :revnumber
        span#revnumber #{((attr 'version-label') || '').downcase} #{attr :revnumber}#{',' if attr? :revdate}
        '
      - if attr? :revdate
        time#revdate datetime=revdate_iso =(attr :revdate)
      - if attr? :revremark
        br
        span#revremark =(attr :revremark)
- if (attr? :toc) && (attr? 'toc-placement', 'auto')
  include _toc.html

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
asciidoctor-html5s-0.5.1 data/templates/_header.html.slim
asciidoctor-html5s-0.5.0 data/templates/_header.html.slim
asciidoctor-html5s-0.4.1 data/templates/_header.html.slim
asciidoctor-html5s-0.4.0 data/templates/_header.html.slim