mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-10-28 17:25:17 +00:00
[AB-xxx] adding macro for defaulting easier in case of null values
This commit is contained in:
+1
@@ -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