diff options
author | David Robillard <d@drobilla.net> | 2022-07-05 14:49:22 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-07-05 15:54:51 -0400 |
commit | 8027bbee63e82502b4fa541980239bff80c0dc4c (patch) | |
tree | 9439cdf4eb3a2602d9bfc1eb5b1f271451d2ec7a | |
parent | 675d76c5718ddd84ad9e9ce263bef445bcc7572e (diff) | |
download | lv2site-8027bbee63e82502b4fa541980239bff80c0dc4c.tar.xz |
Add favicon.ico for compatibility with older browsers
-rw-r--r-- | content/favicon.ico | bin | 0 -> 4286 bytes | |||
-rw-r--r-- | pelicanconf.py | 1 | ||||
-rw-r--r-- | themes/lv2/templates/base.html | 3 |
3 files changed, 3 insertions, 1 deletions
diff --git a/content/favicon.ico b/content/favicon.ico Binary files differnew file mode 100644 index 0000000..defb73c --- /dev/null +++ b/content/favicon.ico diff --git a/pelicanconf.py b/pelicanconf.py index c0b3ef1..658a05d 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -43,6 +43,7 @@ PAGINATED_DIRECT_TEMPLATES = ['news'] ARTICLE_PATHS = ['news'] PAGE_URL = 'pages/{slug}' PAGE_PATHS = ['pages'] +STATIC_PATHS = ['images', 'favicon.ico'] # Uncomment following line if you want document-relative URLs when developing RELATIVE_URLS = True diff --git a/themes/lv2/templates/base.html b/themes/lv2/templates/base.html index a365579..e7e113c 100644 --- a/themes/lv2/templates/base.html +++ b/themes/lv2/templates/base.html @@ -4,7 +4,8 @@ {% block head %} <title>{% block title %}{{ SITENAME }}{%endblock%}</title> <meta charset="utf-8" /> - <link rel="shortcut icon" type="image/png" href="{{ SITEURL }}/images/favicon.png" /> + <link rel="icon" type="image/png" href="{{ SITEURL }}/images/favicon.png" /> + <link rel="icon" type="image/x-icon" href="{{ SITEURL }}/favicon.ico" /> <link rel="stylesheet" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" type="text/css" /> {% if FEED_ALL_ATOM %} <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" /> |