<span class="badge badge-primary">Primary</span>
{% spaceless %}
{% block main %}
{% if pill %}
{% set class = ' badge-pill' %}
{% endif %}
{% if link %}
<a class="badge badge-{{ style }}{{ class }}" href="{{ link }}">
{{ text }}
</a>
{% else %}
<span class="badge badge-{{ style }}{{ class }}">{{ text }}</span>
{% endif %}
{% endblock %}
{% endspaceless %}
{
"style": "primary",
"pill": false,
"text": "Primary",
"link": null
}
No notes defined.