about summary refs log tree commit diff stats
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to 'themes')
-rw-r--r--themes/bear/templates/base.html2
-rw-r--r--themes/bear/templates/favicon.html3
2 files changed, 1 insertions, 4 deletions
diff --git a/themes/bear/templates/base.html b/themes/bear/templates/base.html
index a865bac..7fa1991 100644
--- a/themes/bear/templates/base.html
+++ b/themes/bear/templates/base.html
@@ -3,7 +3,7 @@
 <head>
   <meta charset="utf-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
-  {% include "favicon.html" ignore missing -%}
+  <link rel="shortcut icon" href="{{ config.extra.favicon | default(value="data:,") }}">
   <title>{%- block title %}{{ config.title }}{%- endblock %}</title>
   <meta name="referrer" content="no-referrer-when-downgrade">
   {%- if config.generate_feed %}
diff --git a/themes/bear/templates/favicon.html b/themes/bear/templates/favicon.html
deleted file mode 100644
index 28b504d..0000000
--- a/themes/bear/templates/favicon.html
+++ /dev/null
@@ -1,3 +0,0 @@
-{% if config.extra.favicon %}
-  <link rel="shortcut icon" href="{{ config.extra.favicon }}">
-{%- endif -%}