What's the difference between nav:collection:pages and collection:pages? #4766
-
I tried using both. And both worked fine. The docs seem to show that Nav is purely for navigation list, while Collection pulls in data from everywhere. But technically, both can do the same thing. So am I missing something here, like perhaps Nav is "less heavy" or something? Hmm.. |
Beta Was this translation helpful? Give feedback.
Answered by
jasonvarga
Nov 18, 2021
Replies: 1 comment 1 reply
-
The |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
niloc7
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
nav
tag is generally for creating a nested list - multiple levels. Or for navigations specifically. So if you're only doing a single level collection, you should stick with thecollection
tag.