Files
v1.pivoine.art/_includes/components/link.html
2025-10-25 12:39:30 +02:00

13 lines
401 B
HTML

{% if include.href.size > 0 %}
<a
class="{{ include.class }} {{ include.a_class }}"
href="{{ include.href }}"
{% if include.rel %}rel="{{ include.rel }}"{% endif %}
{% if include.property %}property="{{ include.property }}"{% endif %}
>
{{- include.title -}}
</a>
{% else %}
<span class="{{ include.class }} {{ include.span_class }}">{{ include.title }}</span>
{% endif %}