Heading
Title of a story
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.
o-tease-list
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.
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.
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.
o-tease-list
READMEThis needs docs!
Create a README.md in the pattern's directory and add details about using this pattern in markdown.
o-tease-list
Twig The markup file.<ul class="o-tease-list {{ modifier_class }} {{ o_tease_list_classes }}"
{% if o_tease_list_labelledby_attr %}
aria-labelledby="{{ o_tease_list_labelledby_attr }}"
{% endif %}
>
{% for item in o_tease_list_items %}
<li class="o-tease-list__item {{ o_tease_list_item_classes }}">
{% include "@larva/objects/o-tease/o-tease.twig" with item %}
</li>
{% endfor %}
</ul>
o-tease-list
JSON The data object for this pattern.{
"o_tease_list_classes": "lrv-a-unstyle-list",
"o_tease_list_labelledby_attr": "",
"o_tease_list_item_classes": "",
"o_tease_list_items": [
{
"o_tease_url": "#",
"o_tease_classes": "lrv-u-flex lrv-u-align-items-center",
"o_tease_link_classes": "lrv-u-display-contents",
"o_tease_primary_classes": "lrv-u-flex-grow-1",
"o_tease_secondary_classes": "lrv-u-flex-shrink-0 lrv-u-width-30p",
"c_heading": {
"c_heading_classes": "",
"c_heading_id_attr": "section-heading",
"c_heading_text": "Heading",
"c_heading_url": false,
"c_heading_link_classes": "",
"c_heading_outer": false,
"c_heading_outer_classes": "",
"c_heading_is_primary_heading": false
},
"c_title": {
"c_title_classes": "",
"c_title_tag_text": "",
"c_title_id_attr": "title-of-a-story",
"c_title_text": "Title of a story",
"c_title_markup": "",
"c_title_link_classes": "",
"c_title_url": false
},
"c_tagline": {
"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."
},
"c_lazy_image": {
"c_lazy_image_classes": "",
"c_lazy_image_link_url": false,
"c_lazy_image_link_classes": "lrv-a-unstyle-link",
"c_lazy_image_crop_class": "lrv-a-crop-3x2",
"c_lazy_image_crop_style_attr": false,
"c_lazy_image_link_tab_index_attr": false,
"c_lazy_image_alt_attr": "Post tease thumbnail image",
"c_lazy_image_src_url": "https://farm5.staticflickr.com/4078/5441060528_31db7838ba_z.jpg",
"c_lazy_image_placeholder_url": "data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",
"c_lazy_image_srcset_attr": "https://farm5.staticflickr.com/4078/5441060528_31db7838ba_m.jpg 240w,https://farm5.staticflickr.com/4078/5441060528_31db7838ba_n.jpg 320w,https://farm5.staticflickr.com/4078/5441060528_31db7838ba.jpg 500w,https://farm5.staticflickr.com/4078/5441060528_31db7838ba_z.jpg 640w,https://farm5.staticflickr.com/4078/5441060528_31db7838ba_b.jpg 1024w",
"c_lazy_image_sizes_attr": "auto",
"c_lazy_image_img_classes": "lrv-u-background-color-grey-lightest lrv-u-width-100p lrv-u-display-block lrv-u-height-auto",
"c_lazy_image_height_attr": "",
"c_lazy_image_width_attr": "",
"c_lazy_image_in_initial_viewport": false,
"c_lazy_image_decoding_attr": "async"
}
},
{
"o_tease_url": "#",
"o_tease_classes": "lrv-u-flex lrv-u-align-items-center",
"o_tease_link_classes": "lrv-u-display-contents",
"o_tease_primary_classes": "lrv-u-flex-grow-1",
"o_tease_secondary_classes": "lrv-u-flex-shrink-0 lrv-u-width-30p",
"c_heading": {
"c_heading_classes": "",
"c_heading_id_attr": "section-heading",
"c_heading_text": "Heading",
"c_heading_url": false,
"c_heading_link_classes": "",
"c_heading_outer": false,
"c_heading_outer_classes": "",
"c_heading_is_primary_heading": false
},
"c_title": {
"c_title_classes": "",
"c_title_tag_text": "",
"c_title_id_attr": "title-of-a-story",
"c_title_text": "Title of a story",
"c_title_markup": "",
"c_title_link_classes": "",
"c_title_url": false
},
"c_tagline": {
"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."
},
"c_lazy_image": {
"c_lazy_image_classes": "",
"c_lazy_image_link_url": false,
"c_lazy_image_link_classes": "lrv-a-unstyle-link",
"c_lazy_image_crop_class": "lrv-a-crop-3x2",
"c_lazy_image_crop_style_attr": false,
"c_lazy_image_link_tab_index_attr": false,
"c_lazy_image_alt_attr": "Post tease thumbnail image",
"c_lazy_image_src_url": "https://farm5.staticflickr.com/4078/5441060528_31db7838ba_z.jpg",
"c_lazy_image_placeholder_url": "data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",
"c_lazy_image_srcset_attr": "https://farm5.staticflickr.com/4078/5441060528_31db7838ba_m.jpg 240w,https://farm5.staticflickr.com/4078/5441060528_31db7838ba_n.jpg 320w,https://farm5.staticflickr.com/4078/5441060528_31db7838ba.jpg 500w,https://farm5.staticflickr.com/4078/5441060528_31db7838ba_z.jpg 640w,https://farm5.staticflickr.com/4078/5441060528_31db7838ba_b.jpg 1024w",
"c_lazy_image_sizes_attr": "auto",
"c_lazy_image_img_classes": "lrv-u-background-color-grey-lightest lrv-u-width-100p lrv-u-display-block lrv-u-height-auto",
"c_lazy_image_height_attr": "",
"c_lazy_image_width_attr": "",
"c_lazy_image_in_initial_viewport": false,
"c_lazy_image_decoding_attr": "async"
}
},
{
"o_tease_url": "#",
"o_tease_classes": "lrv-u-flex lrv-u-align-items-center",
"o_tease_link_classes": "lrv-u-display-contents",
"o_tease_primary_classes": "lrv-u-flex-grow-1",
"o_tease_secondary_classes": "lrv-u-flex-shrink-0 lrv-u-width-30p",
"c_heading": {
"c_heading_classes": "",
"c_heading_id_attr": "section-heading",
"c_heading_text": "Heading",
"c_heading_url": false,
"c_heading_link_classes": "",
"c_heading_outer": false,
"c_heading_outer_classes": "",
"c_heading_is_primary_heading": false
},
"c_title": {
"c_title_classes": "",
"c_title_tag_text": "",
"c_title_id_attr": "title-of-a-story",
"c_title_text": "Title of a story",
"c_title_markup": "",
"c_title_link_classes": "",
"c_title_url": false
},
"c_tagline": {
"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."
},
"c_lazy_image": {
"c_lazy_image_classes": "",
"c_lazy_image_link_url": false,
"c_lazy_image_link_classes": "lrv-a-unstyle-link",
"c_lazy_image_crop_class": "lrv-a-crop-3x2",
"c_lazy_image_crop_style_attr": false,
"c_lazy_image_link_tab_index_attr": false,
"c_lazy_image_alt_attr": "Post tease thumbnail image",
"c_lazy_image_src_url": "https://farm5.staticflickr.com/4078/5441060528_31db7838ba_z.jpg",
"c_lazy_image_placeholder_url": "data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",
"c_lazy_image_srcset_attr": "https://farm5.staticflickr.com/4078/5441060528_31db7838ba_m.jpg 240w,https://farm5.staticflickr.com/4078/5441060528_31db7838ba_n.jpg 320w,https://farm5.staticflickr.com/4078/5441060528_31db7838ba.jpg 500w,https://farm5.staticflickr.com/4078/5441060528_31db7838ba_z.jpg 640w,https://farm5.staticflickr.com/4078/5441060528_31db7838ba_b.jpg 1024w",
"c_lazy_image_sizes_attr": "auto",
"c_lazy_image_img_classes": "lrv-u-background-color-grey-lightest lrv-u-width-100p lrv-u-display-block lrv-u-height-auto",
"c_lazy_image_height_attr": "",
"c_lazy_image_width_attr": "",
"c_lazy_image_in_initial_viewport": false,
"c_lazy_image_decoding_attr": "async"
}
}
]
}