Sha256: 31f39ccea8e225f20522cbf61f43c74bf1458b5613be87eacdcfa52c9439014b
Contents?: true
Size: 515 Bytes
Versions: 11
Compression:
Stored size: 515 Bytes
Contents
{%- assign classes = "button" | split: " " %} {%- if type %} {%- assign type_class = type | prepend: "is-" %} {%- assign classes = classes | push: type_class %} {%- endif %} {%- capture button_inner %} {%- if icon %} <span class="icon"><i class="fa fa-{{ icon }}"></i></span> {%- endif %} <span>{{ label }}</span> {%- endcapture %} {%- if link %} <a href="{{ link }}" class="{{classes | join: " "}}">{{ button_inner }}</a> {%- else %} <button class="{{classes | join: " "}}">{{ button_inner }}</button> {%- endif %}
Version data entries
11 entries across 11 versions & 1 rubygems