From 140892b17e865b18fa591d61076f4fbf4e8bfba3 Mon Sep 17 00:00:00 2001 From: checktheroads Date: Tue, 13 Aug 2019 00:48:50 -0700 Subject: [PATCH] :lipstick: Remove hard coded title styles --- hyperglass/render/templates/title.html.j2 | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/hyperglass/render/templates/title.html.j2 b/hyperglass/render/templates/title.html.j2 index 52ca171..1c99a98 100644 --- a/hyperglass/render/templates/title.html.j2 +++ b/hyperglass/render/templates/title.html.j2 @@ -1,21 +1,15 @@ -{% macro title(branding, primary_asn, size_title="h1", size_subtitle="h4", align="center") -%} -
+{% 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' %} -
{% endif %} -
{%- endmacro %} \ No newline at end of file