mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-03-08 00:49:26 +00:00
[AB-xxx] adding macro for defaulting easier in case of null values
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
<#macro default_template_if_null value="" template_key=""><#if value?has_content>${value}<#else><#include "${template_key}"></#if></#macro>
|
||||||
Reference in New Issue
Block a user