Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(views): Users can jump directly to content via prev/next links
This adds an option to add a URL fragment to pagination links, jumping the user directly to the paginated content on pages 2 and after. When returning to the first page, the fragment is not included, assuming that the user may actually want to see the full first page. Should the base_url option contain a fragment, the url_fragment value will not replace it.
- Loading branch information
Showing
2 changed files
with
34 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters