Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.

Releases: amteich/kirby-twig

4.2.3

19 Dec 16:17
Compare
Choose a tag to compare

Fixed twig for email templates.

4.2.2

19 Dec 15:48
Compare
Choose a tag to compare
  • Fixed loading template paths
  • Fixed globals
  • Fixed wrong parameter in Docs

4.2.0

09 Dec 21:41
Compare
Choose a tag to compare

Made some globals available in every template and include:

  • kirby
  • site
  • page
  • pages
  • user
  • users

4.1.7

05 Oct 08:12
Compare
Choose a tag to compare

Security Update for Twig.

4.1.6

03 Jan 09:10
Compare
Choose a tag to compare

Update namespace example calling the Kirby object to use ready option

The example before demonstrated how to build a path with the Kirby object, yet that example
couldn't work as the Kirby object is not available in the config, unless it is called in the
'ready' option of the config.

Thank you @renestalder for sending in a PR.

4.1.5

21 Dec 10:28
Compare
Choose a tag to compare

Fix for PHP 8.1

4.1.4

27 Aug 06:58
Compare
Choose a tag to compare

Fixed snippet twig loading.

4.1.1

24 Feb 06:14
Compare
Choose a tag to compare

Pass params to snippet function, when the snippet is a twig file.

4.1.0

19 Feb 14:57
Compare
Choose a tag to compare
  • Added support for parsing twig files in snippets folder via kirby function snippet()
  • Changed namespace to amteich. Please change your config options from mgfagency.* to amteich.*.

3.0.2

22 Dec 19:09
Compare
Choose a tag to compare

Updated to Twig 3 and added PHP 8 support.