Skip to content

Instantly share code, notes, and snippets.

@bobdenotter
Last active December 14, 2015 11:08
Show Gist options
  • Save bobdenotter/5076735 to your computer and use it in GitHub Desktop.
Save bobdenotter/5076735 to your computer and use it in GitHub Desktop.
#bolt
All Taxomomies:
{% if record.taxonomy is defined %}
{% for type, values in record.taxonomy %}
<em>{{ type }}:</em>
{% for link, value in values %}
<a href="{{ link }}"></a>
{% if not loop.last %}, {% endif %}
{% endfor %}
{% if not loop.last %} - {% endif %}
{% endfor %}
{% endif %}
Used Tags:
{% for link, tag in record.taxonomy.tags %}
<a href="{{ link }}">{{ tag }}</a>
{% if not loop.last %}, {% endif %}
{% endfor %}
Grouping:
{% if record.taxonomy.grouping is defined %}
This record is part of
{{ record.taxonomy.grouping }}
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment