siteleaf / learn.siteleaf.com

Siteleaf Learn is a documentation and learning resource for Siteleaf v2.
http://learn.siteleaf.com
26 stars 25 forks source link

How to use drag and drop sorting #83

Closed sskylar closed 8 years ago

sskylar commented 8 years ago

You can sort in the interface: http://drp.mk/i/yBQX93m4Fw

But we don't tell you how to make this work in your theme:

​{% assign documents = site.collectionname | sort:'position' %}
​{% for document in documents %}
​...
​{% endfor %}
sawyerh commented 8 years ago

This was added https://learn.siteleaf.com/content/drag-and-drop-position/