Remove white space as it was causing issues with Markdown and parsing as code blocks
- Close #279
This commit is contained in:
parent
5bba54da0b
commit
0259611085
1 changed files with 16 additions and 16 deletions
|
@ -20,28 +20,28 @@
|
||||||
{% assign __names = __names | sort %}
|
{% assign __names = __names | sort %}
|
||||||
{% for name in __names | sort %}
|
{% for name in __names | sort %}
|
||||||
|
|
||||||
<!-- If not equal to previous then it must be unique as sorted -->
|
<!-- If not equal to previous then it must be unique as sorted -->
|
||||||
{% unless name == previous %}
|
{% unless name == previous %}
|
||||||
|
|
||||||
<!-- Push to group_names -->
|
<!-- Push to group_names -->
|
||||||
{% assign group_names = group_names | push: name %}
|
{% assign group_names = group_names | push: name %}
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
|
|
||||||
{% assign previous = name %}
|
{% assign previous = name %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
|
||||||
<!-- group_items -->
|
<!-- group_items -->
|
||||||
{% for name in group_names %}
|
{% for name in group_names %}
|
||||||
|
|
||||||
<!-- Collect if contains -->
|
<!-- Collect if contains -->
|
||||||
{% assign __item = __empty_array %}
|
{% assign __item = __empty_array %}
|
||||||
{% for __element in include.collection %}
|
{% for __element in include.collection %}
|
||||||
{% if __element[include.field] contains name %}
|
{% if __element[include.field] contains name %}
|
||||||
{% assign __item = __item | push: __element %}
|
{% assign __item = __item | push: __element %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
<!-- Push to group_items -->
|
|
||||||
{% assign group_items = group_items | push: __item %}
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
<!-- Push to group_items -->
|
||||||
|
{% assign group_items = group_items | push: __item %}
|
||||||
|
{% endfor %}
|
Loading…
Reference in a new issue