{% macro articles(_articles) %} {% for article in _articles %}
  • {% if article.path and getPageByPath(article.path) %} {% elif article.url %} {% else %} {% endif %} {% if article.level != "0" and config.pluginsConfig['theme-default'].showLevel %} {{ article.level }}. {% endif %} {{ article.title }} {% if article.path or article.url %} {% else %} {% endif %} {% if article.articles.length > 0 %} {% endif %}
  • {% endfor %} {% endmacro %}