v5.6.7Gantry 5.6.7 has been released!Read announcement

Gantry 5.4.25

Common

New

  • Added twig tag {% throw 404 'Not Found' %} with user selected error code and message
  • Added twig tag {% markdown %}...{% endmarkdown %}
  • Added twig tag {% switch type %}{% case 'foo' %}...{% default %}...{% endswitch %}
  • Added twig filter |nicetime for 'n days ago' etc
  • Made gantry twig variable global so it can be used inside macros

Improved

  • Updated deprecated Twig code so it works in both in Twig 1.34+ and Twig 2.4+
  • Added twig/yaml deprecation warnings into DebugBar (if installed)
  • Updated Google Fonts (as of 21 August 2018)
  • Added option to Menu particle to force target="_self" attribute on (#2273, thanks @thexmanxyz)

Bug fixes

  • Fixed JS loading issues with Content Tabs and Owl Carousel particles
  • Fixed style and script attributes handled as array (#2191, thanks @Chrissi2812)
  • Fixed exception when using |markdown filter with images (#2350)
  • Allow {% scripts %}, {% styles %} and {% assets %} outside of the block content (#2217)

WordPress

New

  • Added translations support for the engine (nucleus)

Bug fixes

  • Fixed broken language strings when using official WP translations (#2329)

Joomla

New

  • Optionally use content.prepare in contentarray (#2340, thanks @Chrissi2812)
  • Hydrogen / Helium: System messages particle isn't AJAX compatible (#2294)

Grav

Bug fixes

  • Fixed child menu items not appearing (#2327)
  • Fixed active menu issue in multilang environment (#2315)