Merge pull request #49 from atomicules/patch-1

unless forloop for comma was missing from site.pages in search.json
This commit is contained in:
Tom Johnson
2016-11-09 22:35:44 -08:00
committed by GitHub

View File

@ -13,7 +13,8 @@ search: exclude
"keywords": "{{page.keywords}}",
"url": "{{ page.url | remove: "/"}}",
"summary": "{{page.summary | strip }}"
},
}
{% unless forloop.last and site.posts.size < 1 %},{% endunless %}
{% endunless %}
{% endfor %}
@ -29,4 +30,4 @@ search: exclude
{% unless forloop.last %},{% endunless %}
{% endfor %}
]
]