You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/5.x/reference/element-types/categories.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -155,10 +155,11 @@ We can display a navigation for all the categories in a _Flavors_ category group
155
155
</ul>
156
156
```
157
157
158
-
Keep in mind that this only holds value for category groups with multiple hierarchical levels. If you were working with a “flat” taxonomy, the template above can use a `{% for %}` tag in lieu of Craft’s `{% nav %}` tag.
158
+
Keep in mind that this only holds value for category groups with multiple hierarchical levels. If you were working with a “flat” taxonomy, the template above should use a regular`{% for %}` tag in lieu of Craft’s `{% nav %}` tag.
159
159
160
160
::: tip
161
161
To maintain the exact order you see in the control panel, add `orderBy('lft ASC')` to your query:
0 commit comments