{% macro get_if_exists(path, type="text") %} {% set pages_str = people.pages | json_encode() | as_str %} {% if pages_str is containing(person.name) %} {% set page = get_page(path=page_path) %} {% endif %} {{ page }} {% endmacro get_if_exists %} {% macro page_list(type="text") %}
{% if section.extra.group_pages_by %}