all repos — website @ 416aed825565074c19ab4550766da1623b8bb326

My website

Use empty favicon if not configured in theme

Alan Pearce
commit

416aed825565074c19ab4550766da1623b8bb326

parent

f26431f4d0479337f557d5faa7a0bc843c2e81b9

2 files changed, 1 insertion(+), 4 deletions(-)

changed files
M themes/bear/templates/base.htmlthemes/bear/templates/base.html
@@ -3,7 +3,7 @@ <html lang="{{ lang | default(value="en-US" ) }}">
<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 %}
D themes/bear/templates/favicon.html
@@ -1,3 +0,0 @@
-{% if config.extra.favicon %} - <link rel="shortcut icon" href="{{ config.extra.favicon }}"> -{%- endif -%}