--- title: Combo filters, sorting, AND hash history layout: default category: tests schema: - name: color filters: [ red, blue, yellow ] - name: size filters: [ small, wide, tall, big ] - name: shape filters : [ round, square ] ---

Filters can be combined. In addition to filtering for just .red or .tall, you can pass in a filter selector of both: .red.tall.

Filters

{% for group in page.schema %}

{{ group.name }}

{% endfor %}

Sort

{% for size in page.schema[1].filters %} {% for shape in page.schema[2].filters %} {% for color in page.schema[0].filters %}
{% endfor %} {% endfor %} {% endfor %} {% for color in page.schema[0].filters %} {% for shape in page.schema[2].filters %} {% for size in page.schema[1].filters %}
{% endfor %} {% endfor %} {% endfor %}