Kirby Staticbuilder Versions Save

Static HTML exporter for Kirby CMS (v2 only)

v3.0.0-beta.1

6 years ago

Full changelog will come with 3.0.0 stable.

v2.1.1

6 years ago

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.

v2.1.0

7 years ago

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.

v2.0.2

7 years ago
  • Use configured prefix for excluding module pages.

v2.0.1

7 years ago

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

v2.0.0

7 years ago

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

v1.1.4

7 years ago