Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Is your documentation site generated?
· 12 years ago
I am looking to create something along the lines of your documentation site, and am wondering if you made this from some sort of generator. Thank you, Paul
-
Collection sorting
· 12 years ago
Thanks, that clears up the confusion.
-
Collection sorting
· 12 years ago
Hope that helps...
-
Collection sorting
· 12 years ago
if your page has children, then you can call sort on the page directly, eg page.sort. There is no sort method on the Collection object itself: https://github.com/getgrav/grav/blob/develop/system/src
-
Collection sorting
· 12 years ago
Hello, I'm attempting to sort a collection, using the following: {% set collection = page.collection().sort(title, asc) %} However this doesn't seem to work. If I drop the "sort" method the collection
-
Page.collection Documentation?
· 12 years ago
The docs for collection types are in the headers: http://learn.getgrav.org/content/headers
-
Page.collection Documentation?
· 12 years ago
Is the structure of page.collection described in the docs? For example, what’s in page.collection.params?
-
Help with nextSibling(), prevSibling(), isFirst() and isLast()
· 12 years ago
Perfect! thanks again.
-
Help with nextSibling(), prevSibling(), isFirst() and isLast()
· 12 years ago
I think what you want is more like the navigation we have in the http://learn.getgrav.org site? these previous and next buttons on each page? If so you can look at that example directly on github: htt
-
Help with nextSibling(), prevSibling(), isFirst() and isLast()
· 12 years ago
Hello, Maybe I'm overlooking something really obvious here, however I'm after some help / examples on how I can use nextSibling, prevSibling etc. If I attempt to use any of the above methods, like: pa