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