Clarifies spelling of for’s reversed flag to address #843

It should now be harder to read the docs and miss the extra letter required for reversed compared to reverse, which causes a fairly generic syntax warning when trying to reverse sort a collection in a for loop.
This commit is contained in:
Mark Crossfield
2017-01-08 12:38:02 +00:00
parent 61848f980b
commit 49a41a3f08

View File

@@ -133,7 +133,7 @@ Defines a range of numbers to loop through. The range can be defined by both lit
### reversed
Reverses the order of the loop.
Reverses the order of the loop. Note that the flags spelling is different to the filter `reverse`.
<p class="code-label">Input</p>
```liquid