From 8027bbee63e82502b4fa541980239bff80c0dc4c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 5 Jul 2022 14:49:22 -0400 Subject: Add favicon.ico for compatibility with older browsers --- content/favicon.ico | Bin 0 -> 4286 bytes pelicanconf.py | 1 + themes/lv2/templates/base.html | 3 ++- 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 content/favicon.ico diff --git a/content/favicon.ico b/content/favicon.ico new file mode 100644 index 0000000..defb73c Binary files /dev/null and b/content/favicon.ico differ 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 %} {% block title %}{{ SITENAME }}{%endblock%} - + + {% if FEED_ALL_ATOM %} -- cgit v1.2.1