From 7191af48d0e0c047d9226b3c846853371dc99f91 Mon Sep 17 00:00:00 2001
From: Ethan Paul <24588726+enpaul@users.noreply.github.com>
Date: Sat, 24 Apr 2021 22:34:43 -0400
Subject: [PATCH] Replace static sitemap with dynamic template
---
sitemap.xml | 16 ----------------
templates/sitemap.xml.j2 | 27 +++++++++++++++++++++++++++
2 files changed, 27 insertions(+), 16 deletions(-)
delete mode 100644 sitemap.xml
create mode 100644 templates/sitemap.xml.j2
diff --git a/sitemap.xml b/sitemap.xml
deleted file mode 100644
index 9eb53e5..0000000
--- a/sitemap.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
-
- https://allaroundhere.org/
- 2021-02-01T00:30:55+00:00
- 1.00
-
-
-
diff --git a/templates/sitemap.xml.j2 b/templates/sitemap.xml.j2
new file mode 100644
index 0000000..7266112
--- /dev/null
+++ b/templates/sitemap.xml.j2
@@ -0,0 +1,27 @@
+
+
+
+
+
+ https://allaroundhere.org/
+ 2021-02-01T00:30:55+00:00
+ 1.00
+
+
+
+ https://allaroundhere.org/explore/
+ 2021-02-01T00:30:55+00:00
+ 1.10
+
+ {% for post in config.posts %}
+
+ https://allaroundhere.org/explore/{{ post.slug }}/
+ 2021-02-01T00:30:55+00:00
+ 0.90
+
+ {% endfor %}
+