diff --git a/templates/section.html b/templates/section.html index 4a4377a..d160224 100644 --- a/templates/section.html +++ b/templates/section.html @@ -13,17 +13,18 @@
+ {% if paginator %} - {{ index_macros::list_articles(pages=paginator.pages) }} - {% else %} - {{ index_macros::list_articles(pages=section.pages) }} - {% endif %} - - - {% if paginator %} - {{ index_macros::paginate(paginator=paginator) }} - {% endif %} - + {{ index_macros::list_articles(pages=paginator.pages) }} + {% else %} + {{ index_macros::list_articles(pages=section.pages) }} + {% endif %} + + + {% if paginator %} + {{ index_macros::paginate(paginator=paginator) }} + {% endif %} +