bmen-jekyll/_includes/elements/button.html

9 lines
344 B
HTML
Raw Permalink Normal View History

2020-10-10 08:35:47 +00:00
{% if include.block %}
{%- assign block_style = "btn-block" -%}
{%- else -%}
{%- assign block_style = "" -%}
{%- endif -%}
<a class="m-1 btn btn-{{ include.style | default: 'outline-primary' }} btn-{{ include.size | default: 'md' }} {{ block_style }}" href="{{ include.link | default: '#' }}">
{{ include.text | default: "Button" }}
</a>