larva components: c-tagline
Available Variants
prototypeHere is a pretty small amount of text for the tagline. It is a very flexible components, and is really just a single line of text.
c-tagline
README
c-tagline
c-tagline is similar to c-dek, but intended for single line taglines or descriptions of other content. Use c_tagline_markup if the content you are passing needs to use wp_kses
.
c-tagline
Twig The markup file.
{% if c_tagline_text %}
<p class="c-tagline {{ modifier_class }} {{ c_tagline_classes }}">{{ c_tagline_text }}</p>
{% endif %}
{% if c_tagline_markup %}
<div class="c-tagline {{ modifier_class }} {{ c_tagline_classes }}">
{{ c_tagline_markup|raw }}
</div>
{% endif %}
c-tagline
JSON The data object for this pattern.
{
"c_tagline_classes": "",
"c_tagline_text": "Here is a pretty small amount of text for the tagline. It is a very flexible components, and is really just a single line of text."
}