This repository was archived by the owner on Nov 14, 2023. It is now read-only.
Releases: fvsch/kirby-staticbuilder
Releases · fvsch/kirby-staticbuilder
3.0.0 beta 1
Full changelog will come with 3.0.0 stable.
2.1.1 – Fix url helpers for Kirby 2.5.6
2.1.0 – Better page filtering
Some improvements to page filtering (excluding pages from the static build):
- The default filter now shows the reason why a page was excluded, rather than a generic "Excluded by filter" message.
- Updated docs on how to provide such a message in custom filter functions.
- Fixed the default filter for pages without a content file, which was unreliable on multilang sites where not all pages are translated.
2.0.2 – Not much going on here
- Use configured prefix for excluding module pages.
Add composer autoloading for realsies
I swear I committed that earlier before 2.0.0 but it disappeared. 😅
2.0.0 – Composer install, config fixes
Important: the option names have changed in this release!
BREAKING:
- The main option for activating the plugin is just
c::set('staticbuilder', true);. - Other options have been renamed from
'plugin.staticbuilder.*'to'staticbuilder.*'. - Renamed options:
filename->extension,pagefiles->withfiles. - The namespace was changed from
Kirby\Plugin\StaticBuildertoKirby\StaticBuilder.
New:
- This plugin can now be installed with Composer, yay \o/
- Kirby Modules folders are excluded by default (since they’re not pages).
- When filtering which pages should be build (using the
'staticbuilder.filter'option), you can use this method to reuse the plugin’s default filter (which excludes empty directories and directories containing modules only):Kirby\StaticBuilder\Builder::defaultFilter($page). - It’s now possible to filter which page files (files from the page’s folder) should be copied over, when using the related option.
- The
STATIC_BUILDconstant can be used to determine if we’re executing a controller or template from StaticBuilder. If StaticBuilder is building this page, this constant will be defined. - Bug fixes :D
Leaner download
v1.1.4 chore: update package.json version