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
I see there is collections.posts.pages, but we don't have posts in this site.
I cannot seem to find any docs about accessing all pages in the site. E.g. for page in pages or in collections.pages
Is there a way to iterate over all pages in the site?
Thanks
The text was updated successfully, but these errors were encountered:
In exposing it, I wonder if we should have a flag to control when to expose it so sites don't pay for it if they don't need it. That could come later as part of some of the optimization ideas I'm wanting to play with,
Not at this time. My focus has been pulled to other projects. When I do get more attention to devote to cobalt, the highest priority is the refactoring I've started so its easier to add and maintain features like this.
Not at this time. My focus has been pulled to other projects. When I do get more attention to devote to cobalt, the highest priority is the refactoring I've started so its easier to add and maintain features like this.
Understandable and I can empathise -- for what it's worth, this is an insanely smooth tool given what it is and I've found it incredibly useful, so thanks for all of the contributions.
I want to integrate lunr.js to search our site like https://booyaa.wtf/2017/adding-search-to-your-cobalt-site-part-two/.
To do this I need to create a json index.
I see there is
collections.posts.pages
, but we don't have posts in this site.I cannot seem to find any docs about accessing all pages in the site. E.g.
for page in pages
orin collections.pages
Is there a way to iterate over all pages in the site?
Thanks
The text was updated successfully, but these errors were encountered: