--- data: type: hash locale: type: string i18n: type: hash --- {% for font in data.bootstrap.fonts %} {%- assign slug = font | slugify -%}

font-{{ slug }} {{ i18n.lorem_ipsum.five_words }}

font-{{ slug }} is a utility class you can use when you want an element to use the {{ font }} font family.

{{- i18n.lorem_ipsum.twenty_words -}}

{{- i18n.lorem_ipsum.twenty_words -}}

{{- i18n.lorem_ipsum.one_paragraph -}}

{% endfor %} {% for font_family in data.bootstrap.variables.font_families %}

font-{{ font_family[0] }} {{ i18n.lorem_ipsum.five_words }}

font-{{ font_family[0] }} is a utility class you can use when you want an element to use the {{ font_family[1] }} font family.

Since it's a generically named utility, you can redefine the font family by changing it on _data/bootstrap/variables.yml, or add more, even. This is useful for themes, since you can allow users to customize the font families.

{{- i18n.lorem_ipsum.twenty_words -}}

{{- i18n.lorem_ipsum.twenty_words -}}

{{- i18n.lorem_ipsum.one_paragraph -}}

{% endfor %}