{% if page and page.title %} {% set title = page.title %} {% elif section and section.title %} {% set title = section.title %} {% else %} {% set title = config.extra.title %} {% endif %} {% if page and page.description %} {% set description = page.description %} {% elif section and section.description %} {% set description = section.description %} {% else %} {% set description = config.extra.description %} {% endif %}