Created
May 20, 2015 19:30
-
-
Save gmassel/166634ab9923c1cad9cf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% layout none %} | |
{% paginate collections by 50 %} | |
{ | |
"collections": [{% for collection in collections %} | |
{ | |
{% if collection.image %}"image": "{{ collection.image }}",{% endif %} | |
"body_html": "{{ collection.description | url_escape }}", | |
"handle": "{{ collection.handle }}", | |
"id": {{ collection.id }}, | |
"sort_order": "{{ collection.default_sort_by }}", | |
"template_suffix": "{{ collection.template_suffix }}", | |
"title": "{{ collection.title }}", | |
"products_count": {{ collection.products_count }}, | |
"url": "{{ collection.url }}", | |
"products": [] | |
}{% unless forloop.last %},{% endunless %}{% endfor %} | |
] | |
} | |
{% endpaginate %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment