Sha256: 227a6f6a4a38d0dd93dfa5ff9b29d8d565959641776532f8fb36d8d4f167b504

Contents?: true

Size: 600 Bytes

Versions: 3

Compression:

Stored size: 600 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.attributes.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

3 entries across 3 versions & 1 rubygems

Version Path
asciibook-0.0.2.beta2 templates/image.html
asciibook-0.0.2.beta1 templates/image.html
asciibook-0.0.1 templates/image.html