Home Theme-templates About-us-index
about_us/index.liquid
The about_us/index.liquid
template is used to render the catalog items
for the current listing.
Template Considerations
Paginating
Yoolk limits the number of catalog items that can be output per page to 12. For this reason, collections with more than 12 catalog items, must use the paginate tag to split the collection into multiple pages.
{% paginate listing.catalog_items by 5 %}
{% for catalog_item in paginate.collection %}
<!--show catalog_items details here -->
{% endfor %}
{% endpaginate %}
Requirements for the Theme
If you’re looking to submit your theme to the Yoolk Theme, the about_us/index.liquid template of your theme must meet the following conditions:
- Show section of Business Photo at top of content, with the following attributes of the business photo variable here
- Separate Business Photo and About Us section by section header
-
About Us are listed in a grid or list, with the following attributes of the catalog item variable output:
catalog_item.title
(not break the layout when title is long)catalog_item.html_text
catalog_item.image
(not break the layout evencatalog_item.image
is blank)
- Different image ratios should not break the layout
- Enlargeable via Lightbox or zooming with large style
- Different kind of
catalog_item.html_text
should not break the layout - Output image.alt for all images