Sha256: be940ccee755d4d87c14f878cd0dbf1767dc043044fd7d662566484474b6aeb3

Contents?: true

Size: 639 Bytes

Versions: 1

Compression:

Stored size: 639 Bytes

Contents

{% assign action = include.action %}
<a class="{% if action.type != 'link' %}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>
  {% else %}
  {{ action.label }}
  {% endif %}
</a>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ledger_sync-1.4.0 documentation/site/_includes/action_link.html