From da5abf4172c9c7badb4fb06ae042e41d89542e01 Mon Sep 17 00:00:00 2001 From: checktheroads Date: Fri, 16 Aug 2019 23:59:20 -0700 Subject: [PATCH] fix img size --- hyperglass/render/templates/title.html.j2 | 24 ++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/hyperglass/render/templates/title.html.j2 b/hyperglass/render/templates/title.html.j2 index 1c99a98..44d76b3 100644 --- a/hyperglass/render/templates/title.html.j2 +++ b/hyperglass/render/templates/title.html.j2 @@ -1,15 +1,17 @@ {% macro title(branding, primary_asn, size_title="h1", size_subtitle="h4") -%} {% if branding.text.title_mode == 'text_only' %} - <{{ size_title }}>{{ branding.text.title }} - <{{ size_subtitle }}>{{ branding.text.subtitle.format(primary_asn=primary_asn) }} - {% elif branding.text.title_mode == 'all' %} - - <{{ size_title }}>{{ branding.text.title }} - <{{ size_subtitle }}>{{ branding.text.subtitle.format(primary_asn=primary_asn) }} - {% elif branding.text.title_mode == 'logo_title' %} - - <{{ size_title }}>{{ branding.text.title }} - {% elif branding.text.title_mode == 'logo_only' %} - +<{{ size_title }}>{{ branding.text.title }} +<{{ size_subtitle }}>{{ branding.text.subtitle.format(primary_asn=primary_asn) }} +{% elif branding.text.title_mode == 'all' %} + +<{{ size_title }}>{{ branding.text.title }} +<{{ size_subtitle }}>{{ branding.text.subtitle.format(primary_asn=primary_asn) }} +{% elif branding.text.title_mode == 'logo_title' %} + +<{{ size_title }}>{{ branding.text.title }} +{% elif branding.text.title_mode == 'logo_only' %} +
+ +
{% endif %} {%- endmacro %} \ No newline at end of file