summaryrefslogtreecommitdiff
path: root/kosten/templates/macros.jinja
diff options
context:
space:
mode:
Diffstat (limited to 'kosten/templates/macros.jinja')
-rw-r--r--kosten/templates/macros.jinja4
1 files changed, 2 insertions, 2 deletions
diff --git a/kosten/templates/macros.jinja b/kosten/templates/macros.jinja
index d7cd2fc..cf67bca 100644
--- a/kosten/templates/macros.jinja
+++ b/kosten/templates/macros.jinja
@@ -22,8 +22,8 @@
{{ caller() }}
{% else %}
{% set style = "" %}
- {% if fgcolor: %}{% set style = style ~ " color: " ~ fgcolor %}{% endif %}
- {% if bgcolor: %}{% set style = style ~ " background: " ~ bgcolor %}{% endif %}
+ {% if fgcolor %}{% set style = style ~ " color: " ~ fgcolor %}{% endif %}
+ {% if bgcolor %}{% set style = style ~ " background: " ~ bgcolor %}{% endif %}
<{{tag}} style="{{style}}">{{caller()}}</{{tag}}>
{% endif %}
{% endmacro %}