Sha256: bac5cafc0554702657aca5ad16024ceb99e0950fd505153e7f7d338ec8629d49
Contents?: true
Size: 787 Bytes
Versions: 22
Compression:
Stored size: 787 Bytes
Contents
{% assign action = include.action %} <a class="{% if action.type != 'link' and action.type != 'svg' %}button{% endif %}{% if action.type == 'secondary' %} button-secondary{% endif %}{% if action.type == 'icon' %} button-icon{% endif %}" href="{{ action.url | relative_url }}" {% assign new_window_is_not_empty=action.new_window | is_not_empty %}{% if new_window_is_not_empty %} target="_blank" rel="noopener" {% endif %}> {% if action.type == 'icon' and action.icon_class %} <span class="icon fab {{ action.icon_class }}" aria-hidden="true"></span><span class="screen-reader-text">{{ action.label }}</span> {% elsif action.type == 'svg' and action.svg_url %} <img src="{{ action.svg_url }}" alt="{{ action.svg_alt }}" /> {% else %} {{ action.label }} {% endif %} </a>
Version data entries
22 entries across 22 versions & 1 rubygems