From 93024e0f62ea21886286d5482ba5a5cb7432f517 Mon Sep 17 00:00:00 2001
From: gamerdonkey
Date: Tue, 30 Jun 2020 22:44:18 -0500
Subject: Setting up the favicon to be a little better, more explicit.
---
content/2020/test-post.md | 2 +-
content/images/favicon.ico | Bin 2294 -> 0 bytes
content/static/favicon.ico | Bin 0 -> 2294 bytes
pelicanconf.py | 7 +++++++
themes/gamerdonkey-theme/templates/base.html | 2 +-
5 files changed, 9 insertions(+), 2 deletions(-)
delete mode 100644 content/images/favicon.ico
create mode 100644 content/static/favicon.ico
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/images/favicon.ico
deleted file mode 100644
index a12ee94..0000000
Binary files a/content/images/favicon.ico and /dev/null differ
diff --git a/content/static/favicon.ico b/content/static/favicon.ico
new file mode 100644
index 0000000..a12ee94
Binary files /dev/null and b/content/static/favicon.ico 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() }}
-
+
{% endblock %}
--
cgit v1.2.3