Description
Right now themes need to include a lot of verbose code in their pagination and search pages using libraries.source just to get:
query- if it is a search
- the search query
pagepath- next page link
- previous page link
It doesn’t make sense. Frontity themes should be easy to create.
User Stories
As a Frontity theme developer
I want to access pagination and search in the data objects
so that I don’t have to repeat the same code over and over on all my themes
Possible solution
Let’s improve searches and pagination by adding:
- For all entities:
data.linkdata.query
- For searches:
data.isSearchdata.searchQuery
- For archives:
data.pagedata.pathdata.nextdata.previous

