Documentation: Sorting example does not work
thwischm opened this issue · comments
On the page http://assemble.io/docs/Collections.html , the example code for sorting does not work:
<ul>
{{#withSort pages data.date}}
<li>{{data.title}}</li>
{{/withSort}}
</ul>
The quotation marks around data.date are missing. It should be:
<ul>
{{#withSort pages "data.date"}}
<li>{{data.title}}</li>
{{/withSort}}
</ul>