{% macro articles(_articles, showLevels) %} {% for article in _articles %} {% if article.depth != 1 or (article.depth == 1 and page.level.startsWith(article.level)) %} {% set articleToString = article | dump %}