diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-08-02 00:25:39 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-08-02 00:25:39 +0200 |
commit | 1fb9da122aa3a5a9ea3ec09ee7d78fceebabc69b (patch) | |
tree | 2f2037342af45880fb0949f11dfb0f7c5fb72d09 /kosten/templates/macros.jinja | |
parent | b46240909165528261cec2e474e5ed3efa8fe4ea (diff) | |
download | kosten-1fb9da122aa3a5a9ea3ec09ee7d78fceebabc69b.tar.gz kosten-1fb9da122aa3a5a9ea3ec09ee7d78fceebabc69b.tar.bz2 kosten-1fb9da122aa3a5a9ea3ec09ee7d78fceebabc69b.zip |
Fix some errors
Diffstat (limited to 'kosten/templates/macros.jinja')
-rw-r--r-- | kosten/templates/macros.jinja | 4 |
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 %} |