From fae3013515af437a77c94ca4ec3d92353f8941a1 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Thu, 29 Feb 2024 21:51:51 +0000 Subject: [PATCH] Adds a page which lists all pages --- web/src/pages/sitemap.astro | 148 ++++++++++++++++++++++++++++++++++++ 1 file changed, 148 insertions(+) create mode 100644 web/src/pages/sitemap.astro diff --git a/web/src/pages/sitemap.astro b/web/src/pages/sitemap.astro new file mode 100644 index 0000000..7a98a77 --- /dev/null +++ b/web/src/pages/sitemap.astro @@ -0,0 +1,148 @@ +--- + + +import Layout from '@layouts/Layout.astro'; +import type { AwesomePrivacy } from '../types/Service'; +import { fetchData, slugify } from '@utils/fetch-data'; + +const categories = (await fetchData() as AwesomePrivacy)?.categories || []; + +--- + + +
+

Sitemap

+

+ Below is a full listing of all pages on this site.
+ As reflected in our sitemap.xml +

+ + +
+ +
+ +