Sha256: 6ed38858a2aae71b9317fd21a878148598e4865056c931fca4058fe95d26660e

Contents?: true

Size: 771 Bytes

Versions: 11

Compression:

Stored size: 771 Bytes

Contents

- if @id == "cover-logo"
  .sl-block data-block-type="image" style="min-width: 30px; min-height: 30px; width: 211.706666666667px; height: 68px; left: 80px; top: 50px;" class=role
    .sl-block-content class=role style="z-index: 13;"
      img data-src=image_uri(attr :target)
- else
  .imageblock(id=@id class=[@style,role]
    style=[("text-align: #{attr :align}" if attr? :align),("float: #{attr :float}" if attr? :float)].compact.join('; '))
    .content
      - if attr? :link
        a.image href=(attr :link)
          img src=image_uri(attr :target) alt=(attr :alt) width=(attr :width) height=(attr :height)
      - else
        img src=image_uri(attr :target) alt=(attr :alt) width=(attr :width) height=(attr :height)
    - if title?
      .title=captioned_title

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
hyla-1.0.9 lib/resources/backends/slim/revealjs-redhat/block_image.html.slim
hyla-1.0.9.pre.3 lib/resources/backends/slim/revealjs-redhat/block_image.html.slim
hyla-1.0.9.pre.2 lib/resources/backends/slim/revealjs-redhat/block_image.html.slim
hyla-1.0.9.pre.1 lib/resources/backends/slim/revealjs-redhat/block_image.html.slim
hyla-1.0.8 lib/resources/backends/slim/revealjs-redhat/block_image.html.slim
hyla-1.0.7 lib/resources/backends/slim/revealjs-redhat/block_image.html.slim
hyla-1.0.7.pre.9 lib/resources/backends/slim/revealjs-redhat/block_image.html.slim
hyla-1.0.7.pre.8 lib/resources/backends/slim/revealjs-redhat/block_image.html.slim
hyla-1.0.7.pre.7 lib/resources/backends/slim/revealjs-redhat/block_image.html.slim
hyla-1.0.7.pre.6 lib/resources/backends/slim/revealjs-redhat/block_image.html.slim
hyla-1.0.7.pre.5 lib/resources/backends/slim/revealjs-redhat/block_image.html.slim