Sha256: c646f7a7dc474374a24f7c3b283c447874ca93189e7890498c969bca678dd9e6

Contents?: true

Size: 589 Bytes

Versions: 6

Compression:

Stored size: 589 Bytes

Contents

<figure class="image" {% if node.id %}id="{{ node.id }}"{% endif %}>
  {% if node.attributes.link %}<a href="{{ node.attributes.link }}">{% endif %}
    <img src="{{ node.target }}"
         {% if node.attributes.alt %}alt="{{ node.attributes.alt }}"{% endif %}
         {% if node.attributes.width %}width="{{ node.attributes.width }}"{% endif %}
         {% if node.attributes.height %}height="{{ node.attributes.height }}"{% endif %} />
  {% if node.attributes.link %}</a>{% endif %}
  {% if node.title %}
    <figcaption>{{ node.captioned_title }}</figcaption>
  {% endif %}
</figure>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
asciibook-0.1.0 templates/image.html
asciibook-0.1.0.pre.beta templates/image.html
asciibook-0.0.5 templates/image.html
asciibook-0.0.4 templates/image.html
asciibook-0.0.3 templates/image.html
asciibook-0.0.2 templates/image.html