{%- assign schemas = site.pages | where: 'dir', '/' | where_exp: "page", "page.schema" | sort: 'sort-index' %} {%- for schema in schemas %}
  • {{ schema.title }} {%- if include.include_description %} {%- assign schema_data = site.data[schema.schema] -%}

    {%- if schema_data.description -%} {{ schema_data.description }} {%- endif -%} {%- assign stripped_content = schema.content | strip -%} {%- if stripped_content != "" -%} {{ schema.content }} {%- endif -%}

    {%- endif -%}
  • {%- endfor %}