github maizzle/framework v3.5.0

latest releases: v5.0.0-beta.27, v5.0.0-beta.26, v5.0.0-beta.25...
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.