d4l-data4life / kirby3-static-site-generator

Static site generator plugin for Kirby 3+. With this plugin you can create a directory with assets, media and static html files generated from your pages. The result is an even faster site with less potential vulnerabilities.
MIT License
139 stars 7 forks source link

✨ support page context in route rendering to allow for advanced pagination use cases, set current path to support pagination #74

Closed jonathan-reisdorf closed 2 years ago

jonathan-reisdorf commented 2 years ago

Description

Support pagination use cases by providing an option to attach a page context as well as setting the current url context (required for rendering pagination links correctly)

Motivation

fixes https://github.com/d4l-data4life/kirby3-static-site-generator/issues/72 fixes https://github.com/d4l-data4life/kirby3-static-site-generator/issues/73 fixes https://github.com/d4l-data4life/kirby3-static-site-generator/issues/71 fixes https://github.com/d4l-data4life/kirby3-static-site-generator/issues/64

Testing

Single and multi-language, with and without custom routes, panel field