summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgamerdonkey2020-06-30 22:44:18 -0500
committergamerdonkey2020-06-30 22:44:18 -0500
commit93024e0f62ea21886286d5482ba5a5cb7432f517 (patch)
tree903148f3bc5f94bb75a173b07d00b0ff7aa32677
parenta2bd4a44153de2a04f1dbd7e21a17384634148c6 (diff)
downloadgamerdonkey.com-blog-93024e0f62ea21886286d5482ba5a5cb7432f517.tar.gz
gamerdonkey.com-blog-93024e0f62ea21886286d5482ba5a5cb7432f517.tar.bz2
gamerdonkey.com-blog-93024e0f62ea21886286d5482ba5a5cb7432f517.zip
Setting up the favicon to be a little better, more explicit.
-rw-r--r--content/2020/test-post.md2
-rw-r--r--content/static/favicon.ico (renamed from content/images/favicon.ico)bin2294 -> 2294 bytes
-rw-r--r--pelicanconf.py7
-rw-r--r--themes/gamerdonkey-theme/templates/base.html2
4 files changed, 9 insertions, 2 deletions
diff --git a/content/2020/test-post.md b/content/2020/test-post.md
index fa77dfd..7769957 100644
--- a/content/2020/test-post.md
+++ b/content/2020/test-post.md
@@ -2,7 +2,7 @@ Title: Test Post
Date: 2020-05-23
Category: Test
Tags: test, deleteme
-Status: draft
+Status: published
Summary: A test post, wherein I talk about testing posts.
In this post, I'll be talking about testing how making a post works.
diff --git a/content/images/favicon.ico b/content/static/favicon.ico
index a12ee94..a12ee94 100644
--- a/content/images/favicon.ico
+++ b/content/static/favicon.ico
Binary files differ
diff --git a/pelicanconf.py b/pelicanconf.py
index bfadb5d..37f3c85 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -48,3 +48,10 @@ DISPLAY_CATEGORIES_ON_MENU = False
DEFAULT_METADATA = {
'status': 'draft',
}
+
+# Static Files
+STATIC_PATHS = ['static']
+
+EXTRA_PATH_METADATA = {
+ 'static/favicon.ico': {'path': 'favicon.ico'},
+}
diff --git a/themes/gamerdonkey-theme/templates/base.html b/themes/gamerdonkey-theme/templates/base.html
index c1eb7e8..91f91b8 100644
--- a/themes/gamerdonkey-theme/templates/base.html
+++ b/themes/gamerdonkey-theme/templates/base.html
@@ -4,5 +4,5 @@
{{ super() }}
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/style.css" />
- <link rel="shortcut icon" href="{{ SITEURL }}/images/favicon.ico?v=2" />
+ <link rel="shortcut icon" href="{{ SITEURL }}/favicon.ico?v=2" />
{% endblock %}