summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content/favicon.icobin0 -> 4286 bytes
-rw-r--r--pelicanconf.py1
-rw-r--r--themes/lv2/templates/base.html3
3 files changed, 3 insertions, 1 deletions
diff --git a/content/favicon.ico b/content/favicon.ico
new file mode 100644
index 0000000..defb73c
--- /dev/null
+++ b/content/favicon.ico
Binary files 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 %}
<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" />