Skip to content

New Template Engine, Custom String Directives

Compare
Choose a tag to compare
@devosc devosc released this 02 Jan 05:00
· 26 commits to master since this release

The View5 Template Engine has been updated and includes Blade 5.5 changes.

Render directives have been added similar to include directives but they do not include the parent template variables when rendering a template. Custom directives can now also be strings and tokens are available for substitution of the expression into the string. The {expression} token includes the enclosing parentheses of the directive whereas {expr} does not; the {var} token can be used as a variable name. Custom directives can be loaded using a separate configuration file. The Mvc5 Demo Application has been updated with examples.