diff --git a/hyperglass/configuration/__init__.py b/hyperglass/configuration/__init__.py
index da1a039..374f981 100644
--- a/hyperglass/configuration/__init__.py
+++ b/hyperglass/configuration/__init__.py
@@ -334,6 +334,24 @@ class brand:
else:
return t["logo_path"]
+ def favicon16_path():
+ list = []
+ for t in branding:
+ if len(t["favicon16_path"]) == 0:
+ f = "static/images/favicon/favicon-16x16.png"
+ return f
+ else:
+ return t["favicon16_path"]
+
+ def favicon32_path():
+ list = []
+ for t in branding:
+ if len(t["favicon32_path"]) == 0:
+ f = "static/images/favicon/favicon-32x32.png"
+ return f
+ else:
+ return t["favicon32_path"]
+
def logo_width():
list = []
for t in branding:
diff --git a/hyperglass/render/__init__.py b/hyperglass/render/__init__.py
index 176f417..70d480a 100644
--- a/hyperglass/render/__init__.py
+++ b/hyperglass/render/__init__.py
@@ -68,6 +68,8 @@ class html:
footer_content=md.convert(footer),
logo_path=configuration.brand.logo_path(),
logo_width=configuration.brand.logo_width(),
+ favicon16_path=configuration.brand.favicon16_path(),
+ favicon32_path=configuration.brand.favicon32_path(),
placeholder_prefix=configuration.brand.placeholder_prefix(),
show_peeringdb=configuration.brand.show_peeringdb(),
text_results=configuration.brand.text_results(),
diff --git a/hyperglass/render/templates/base.html b/hyperglass/render/templates/base.html
index 897d168..22f197b 100644
--- a/hyperglass/render/templates/base.html
+++ b/hyperglass/render/templates/base.html
@@ -7,8 +7,8 @@
-
-
+
+