From b7c189d3d6912c91874de54d44f6346adc635060 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 7 Mar 2019 11:09:02 -0800 Subject: clean up HTML whitespace --- python/fatcat_web/templates/base.html | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) (limited to 'python/fatcat_web/templates/base.html') diff --git a/python/fatcat_web/templates/base.html b/python/fatcat_web/templates/base.html index 2a5e0dd6..d3353ca4 100644 --- a/python/fatcat_web/templates/base.html +++ b/python/fatcat_web/templates/base.html @@ -4,13 +4,21 @@ - {# sorry this line is so long; don't want any whitespace #} - {% block title %}{% if config.FATCAT_DOMAIN.startswith('qa.') %}[QA] {% elif config.FATCAT_DOMAIN.startswith('dev.') %}[DEV] {% endif %}fatcat!{% endblock %} + {%- block title -%} + {%- if config.FATCAT_DOMAIN.startswith('qa.') -%} + {{- "[QA] " -}} + {%- elif config.FATCAT_DOMAIN.startswith('dev.') -%} + {{- "[DEV] " -}} + {%- endif -%} + fatcat! + {%- endblock -%} - + {% block extra_head %}{% endblock %} @@ -112,8 +120,12 @@ - + crossorigin="anonymous"> + + {% block postscript %}{% endblock %} -- cgit v1.2.3