Sha256: da7f2757c8a76738699fa826ea7da1e92628b9a09055a900b34767b4561074a1

Contents?: true

Size: 548 Bytes

Versions: 8

Compression:

Stored size: 548 Bytes

Contents

{%- comment -%}
Un botón genérico. Se usa como base para crear los demás
botones con distintas funcionalidades.

@param :element [String] El elemento (p.e. `a` `button`)
@param :class [String] Las clases del componente aparte de btn (colores, tipografía, etc)
@param :content [String,HTML] El contenido del botón
@param :extra [HTML] Atributos extra
{%- endcomment -%}

{%- assign element = include.element | default: "button" -%}

<{{ element }} {{ include.extra }} class="btn {{ include.class }}">
  {{- include.content -}}
</{{ element }}>

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
editorial-autogestiva-jekyll-theme-0.5.0rc7 _includes/buttons/generic.html
editorial-autogestiva-jekyll-theme-0.5.0rc6 _includes/buttons/generic.html
editorial-autogestiva-jekyll-theme-0.5.0rc5 _includes/buttons/generic.html
editorial-autogestiva-jekyll-theme-0.5.0rc4 _includes/buttons/generic.html
editorial-autogestiva-jekyll-theme-0.5.0rc3 _includes/buttons/generic.html
editorial-autogestiva-jekyll-theme-0.5.0rc2 _includes/buttons/generic.html
editorial-autogestiva-jekyll-theme-0.5.0rc1 _includes/buttons/generic.html
radios-comunitarias-jekyll-theme-0.3.0rc1 _includes/buttons/generic.html