Sha256: 37e38078d1f861d9240437b063714717b4323cc257a2a476ff10818fda5e7f0e

Contents?: true

Size: 317 Bytes

Versions: 6

Compression:

Stored size: 317 Bytes

Contents

{% if node.type == 'visible' %}
  <a data-type="indexterm">{{ node.text }}</a>
{% else %}
  {% assign terms = node.attributes.terms %}
  <a data-type="indexterm"
     {% for term in node.attributes.terms %}
       data-{% cycle 'primary', 'secondary', 'tertiary' %}="{{ term }}"
     {% endfor %}
     />
{% endif %}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
asciidoctor-htmlbook-0.0.6 templates/inline_indexterm.html
asciidoctor-htmlbook-0.0.5 templates/inline_indexterm.html
asciidoctor-htmlbook-0.0.4 templates/inline_indexterm.html
asciidoctor-htmlbook-0.0.3 templates/inline_indexterm.html
asciidoctor-htmlbook-0.0.2 templates/inline_indexterm.html
asciidoctor-htmlbook-0.0.1 templates/inline_indexterm.html