From 5e883d40b863c0976ecf9d627a667ef8b208d9c8 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Wed, 27 Apr 2016 10:09:24 -0400 Subject: [PATCH] Remove white space as it was causing issues with Markdown and parsing as code blocks - Close #279 --- _includes/group-by-array | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/_includes/group-by-array b/_includes/group-by-array index 33af7555d0bc..251302c70bb1 100644 --- a/_includes/group-by-array +++ b/_includes/group-by-array @@ -20,28 +20,28 @@ {% assign __names = __names | sort %} {% for name in __names | sort %} - - {% unless name == previous %} + +{% unless name == previous %} - - {% assign group_names = group_names | push: name %} - {% endunless %} + +{% assign group_names = group_names | push: name %} +{% endunless %} - {% assign previous = name %} +{% assign previous = name %} {% endfor %} {% for name in group_names %} - - {% assign __item = __empty_array %} - {% for __element in include.collection %} - {% if __element[include.field] contains name %} - {% assign __item = __item | push: __element %} - {% endif %} - {% endfor %} - - - {% assign group_items = group_items | push: __item %} + +{% assign __item = __empty_array %} +{% for __element in include.collection %} +{% if __element[include.field] contains name %} +{% assign __item = __item | push: __element %} +{% endif %} {% endfor %} + + +{% assign group_items = group_items | push: __item %} +{% endfor %} \ No newline at end of file