{% macro articles(_articles) %} {% for article in _articles %}
  • {% if article.level == '1.1' %} {% elif 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 }} {% for i in range(0, article.depth - 1) %} {% endfor %} {% if article.articles.length > 0 and page.level.indexOf(article.level) == 0 %} {% elif article.articles.length > 0 %} {% endif %} {% if article.path or article.url %} {% else %} {% endif %} {% if article.articles.length > 0 and page.level.indexOf(article.level) == 0 %}
    {{ articles(article.articles, file, config) }}
    {% endif %}
  • {% endfor %} {% endmacro %} {% block book_summary %} {% for part in summary.parts %}
    {% if part.title %}

    {{ part.title }}

    {% endif %}
    {% endfor %} {% endblock %}