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
{{ message }}
This repository has been archived by the owner on Jan 25, 2019. It is now read-only.
I'd love to hear this is already doable and I'm missing something.
If not, this may be how to fix it....
page.py currently has this
render...
extra_pages = self.paginate()
The paginate function has logic to catch the site dictionary but it isn't getting it passed to it.
Once you enable that you can use site.pages to as a list and paginate through it in a template. I'd like for each tag in the site array to also include a pages list of wok.page.Page vars like page.subpages or site.pages. If that existed I think you could then paginate through pages that have a specific tag by setting site.tags['music'] or something like that in your template.
The text was updated successfully, but these errors were encountered:
Sorry for not getting to this sooner: I think the solution would be to use the (as of yet not documented) "Vary" feature, which is similar to paginate, except it generates different pages for each tag. If you are still interested in this, you should join #wok on Freenode and we can chat about it.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'd love to hear this is already doable and I'm missing something.
If not, this may be how to fix it....
page.py currently has this
render...
extra_pages = self.paginate()
The paginate function has logic to catch the site dictionary but it isn't getting it passed to it.
Once you enable that you can use site.pages to as a list and paginate through it in a template. I'd like for each tag in the site array to also include a pages list of wok.page.Page vars like page.subpages or site.pages. If that existed I think you could then paginate through pages that have a specific tag by setting site.tags['music'] or something like that in your template.
The text was updated successfully, but these errors were encountered: