diff --git a/lnbits/templates/base.html b/lnbits/templates/base.html
index f2b114eb..4fbab08a 100644
--- a/lnbits/templates/base.html
+++ b/lnbits/templates/base.html
@@ -65,16 +65,15 @@
class="q-mr-md gt-md"
>
- {%endif%}
+ {%endif%} {% if LNBITS_CUSTOM_BADGE is defined %}
- {% if LNBITS_SERVICE_FEE > 0 %}
+ {%endif%} {% if LNBITS_SERVICE_FEE > 0 %}