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