mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2024-12-20 05:14:35 -05:00
21 lines
872 B
HTML
21 lines
872 B
HTML
{% if include.link %}
|
|
<a
|
|
href="{{ include.link }}" class="text-decoration-none link-{{ include.color | default: "info" }}"
|
|
{% if include.tooltip %}
|
|
data-bs-toggle="tooltip"
|
|
title="{{ include.tooltip }}"><i class="{{ include.icon | default: "fad fa-question-circle"}}"></i> {{ include.text }}
|
|
{% else %}><i class="{{ include.icon | default: "fas fa-external-link-alt"}}"></i> <span class="text-decoration-underline">{{ include.text }}</span>{% endif %}
|
|
</a>
|
|
{% else %}
|
|
<span
|
|
class="badge rounded-pill bg-{{ include.color | default: "info" }}"
|
|
{% if include.tooltip %}
|
|
data-bs-toggle="tooltip"
|
|
title="{{ include.tooltip }}"
|
|
> <i class="{{ include.icon | default: "fad fa-question-circle"}}"></i> {{include.text}}
|
|
{% else %}
|
|
> {% if include.icon %}<i class="{{ include.icon }}"></i>{% endif %} {{include.text}}
|
|
{% endif %}
|
|
</span>
|
|
{% endif %}
|