From 43e8a6c30d226b61143ee456b88e7ece5d338fde Mon Sep 17 00:00:00 2001 From: Djamil Legato Date: Wed, 12 Aug 2015 10:10:24 -0700 Subject: [PATCH] Fixed retrieving config separator within twig macro (fixes #59) --- themes/grav/templates/pages.html.twig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/themes/grav/templates/pages.html.twig b/themes/grav/templates/pages.html.twig index b46e88d3..bb91e486 100644 --- a/themes/grav/templates/pages.html.twig +++ b/themes/grav/templates/pages.html.twig @@ -38,7 +38,7 @@ {% set preview_link = '' %} -{% macro loop(page, base_url, depth, warn) %} +{% macro loop(page, base_url, depth, warn, separator) %} {% for p in page.children() %} {% set description = (not p.page ? 'Folder • ' : 'Page • ') ~ (p.modular ? 'Modular • ' : '') ~ @@ -54,9 +54,9 @@ {{ p.home ? '' }} {% if warn %} - + {% else %} - + {% endif %}

{{ p.route }}

@@ -64,7 +64,7 @@ {% if p.children().count > 0 and not p.modular() %} {% endif %} @@ -143,7 +143,7 @@ {% endif %}