Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Add sitemap.xml #67

Merged
merged 1 commit into from
Sep 20, 2024
Merged

✨ Add sitemap.xml #67

merged 1 commit into from
Sep 20, 2024

Conversation

cowboyd
Copy link
Member

@cowboyd cowboyd commented Sep 20, 2024

Motivation

Having a sitemap to all of our sites will allow us to statically generate across all the different content repositories that we have. Not only that, but it's good for SEO as well.

Approach

This is a simple site, with simple content, so all that is needed is to add sitemap.xml.ts route that walks across the document table of contents stored in toc.json and create the manifest of urls contained therein.

Screenshots

image

Having a sitemap to all of our sites will allow us to statically
generate across all the different content repositories that we have.

This is a simple site, with simple content, so all that is needed is
to add `sitemap.xml.ts` route that walks across the document table of
contents stored in `toc.json` and create the manifest of urls
contained therein.
@cowboyd cowboyd merged commit da5f9ec into v1 Sep 20, 2024
3 checks passed
@cowboyd cowboyd deleted the cl/sitemap branch September 20, 2024 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants