github maizzle/framework v3.5.0

latest releases: v4.8.4, v4.8.3, v4.8.2...
3 years ago

New features

Use Expressions in Layouts

This release reintroduces the (fixed) functionality from v3.2.0 which allows using Expressions in Layouts.

You can now dynamically extend a Layout like this:

<extends src="src/layouts/{{ page.env === 'production' ? 'production' : 'development' }}.html">
  ...
</extends>

You can now also use <if> / <else> statements in a Layout:

<if condition="page.env === 'production'">
  <!-- Layout HTML boilerplate for production -->
</if>
<else>
  <!-- Layout HTML boilerplate for all other build commands -->
</else>
  • feat: expressions in layouts b800a99

v3.4.2...v3.5.0

Don't miss a new framework release

NewReleases is sending notifications on new releases.