Skip to content
This repository was archived by the owner on Nov 14, 2023. It is now read-only.

Releases: fvsch/kirby-staticbuilder

3.0.0 beta 1

12 Nov 14:49

Choose a tag to compare

3.0.0 beta 1 Pre-release
Pre-release

Full changelog will come with 3.0.0 stable.

2.1.1 – Fix url helpers for Kirby 2.5.6

09 Nov 08:48
74ce65f

Choose a tag to compare

Fixed:

  • #35 Since Kirby 2.5.6, helpers such as the url(), js() and css() functions would not respect the staticbuilder.baseurl and could output URLs like http://localhost/… instead.

2.1.0 – Better page filtering

16 Dec 19:05

Choose a tag to compare

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

15 Dec 07:48

Choose a tag to compare

  • Use configured prefix for excluding module pages.

Add composer autoloading for realsies

15 Oct 16:49

Choose a tag to compare

I swear I committed that earlier before 2.0.0 but it disappeared. 😅

2.0.0 – Composer install, config fixes

15 Oct 16:33

Choose a tag to compare

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\StaticBuilder to Kirby\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_BUILD constant 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

11 Oct 10:18

Choose a tag to compare

v1.1.4

chore: update package.json version