--- title: Category rows layout: default category: custom-layout-modes ---

This demo uses a custom layout mode, categoryRows that arranges elements into rows based on their category. The layout mode logic relies on sorting to define rows.

{% include filter-buttons.html %}

Etc

{% for elem_number in site.random_order | limit:60 %} {% assign element = site.elements[elem_number] %} {% include element-partial.html %} {% endfor %}