The branch started as a small update to support permalinks. While writing, I found a lot of nested function calls and ugly code parts. So I had to do a lot of cleanup and restructuring before being able to work again.
The changes are heavy, so I will bump the version to 0.3.0 after merging, but most things should be backwards compatible. See changelog for more details.
In all my tests, everything seems to work with different data models:
type based and collection based sub pages
_id, slug and permalink as identifiers
monolingual and multilingual
Because the update is so huge, I wait a little bit with merging it until I had a second look over the whole changed parts.
not backwards compatible
Existing (child) themes need to be updated to the changed $posts behaviour. The old one was counter-intuitive.
I had to change @base() to @route() in some partials (e.g. pagination) for permalink usage. This effects (child) theme templates in multilingual setups.
The branch started as a small update to support permalinks. While writing, I found a lot of nested function calls and ugly code parts. So I had to do a lot of cleanup and restructuring before being able to work again.
The changes are heavy, so I will bump the version to 0.3.0 after merging, but most things should be backwards compatible. See changelog for more details.
In all my tests, everything seems to work with different data models:
_id
,slug
andpermalink
as identifiersBecause the update is so huge, I wait a little bit with merging it until I had a second look over the whole changed parts.
not backwards compatible
$posts
behaviour. The old one was counter-intuitive.@base()
to@route()
in some partials (e.g. pagination) for permalink usage. This effects (child) theme templates in multilingual setups.