{% macro entry_rows(entry, index, home=false) %} {# On section and subcategory pages the group heading already names the row's use case #} {% set grouped_page = entry_groups and not group_categories %} {% set section_path = "/categories/" ~ parent_category.slug ~ "/" if parent_category else current_path %}