summaryrefslogtreecommitdiff
path: root/http/share/sitemap.uppxml
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-05-12 20:56:32 +0100
committerJoe Carstairs <me@joeac.net>2026-05-12 20:56:32 +0100
commiteb48cdb9a370c37a129637cf0de91e5023306323 (patch)
tree0e07a5f762ca9bf65a5cd068e38a75716d53b19c /http/share/sitemap.uppxml
parent512f1301178e245d5ba0b4677e44e4d41e24a283 (diff)
inits http ssg with mkws
Diffstat (limited to 'http/share/sitemap.uppxml')
-rw-r--r--http/share/sitemap.uppxml21
1 files changed, 21 insertions, 0 deletions
diff --git a/http/share/sitemap.uppxml b/http/share/sitemap.uppxml
new file mode 100644
index 0000000..ba5ee48
--- /dev/null
+++ b/http/share/sitemap.uppxml
@@ -0,0 +1,21 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<urlset xmlns='http://www.sitemaps.org/schemas/sitemap/0.9'>
+#!
+for f in ${OUT}/*.html
+do
+#!
+<url>
+#!
+loc=$1/$(basename "${f}")
+#!
+<loc>${loc}</loc>
+#!
+lastmod=$(lmt -f '%Y-%m-%dT%H:%M:%SZ' "${f}" | cut -d' ' -f1)
+#!
+<lastmod>${lastmod}</lastmod>
+<priority>1.0</priority>
+</url>
+#!
+done
+#!
+</urlset>