diff --git a/theme/templates/includes/book/summary.html b/theme/templates/includes/book/summary.html index b4859fce0..697cce87c 100644 --- a/theme/templates/includes/book/summary.html +++ b/theme/templates/includes/book/summary.html @@ -1,3 +1,22 @@ +{% macro articles(_articles) %} + {% for item in _articles %} +
  • + {% if item.path %} + + {{ item.level }}. {{ item.title }} + + {% else %} + {{ item.level }}. {{ item.title }} + {% endif %} + {% if item.articles.length > 0 %} + + {% endif %} +
  • + {% endfor %} +{% endmacro %} +