summaryrefslogtreecommitdiff
path: root/_includes/functions.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/functions.html')
-rw-r--r--_includes/functions.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/_includes/functions.html b/_includes/functions.html
index 69e3d5a..5c00bb5 100644
--- a/_includes/functions.html
+++ b/_includes/functions.html
@@ -16,6 +16,10 @@
{%- include {{ include_path }} params=params-%}
{%- endif -%}
+{%- if return == nil -%}
+ {%- assign return = include.default -%}
+{%- endif -%}
+
{%- if func != 'log' -%}
{%- assign msg = '[function]['
| append: {{func}}