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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sitemap.xml #5

Closed
jefftriplett opened this issue May 2, 2024 · 6 comments
Closed

Add sitemap.xml #5

jefftriplett opened this issue May 2, 2024 · 6 comments
Assignees

Comments

@jefftriplett
Copy link
Member

No description provided.

@mtrythall
Copy link
Collaborator

Have one here now: https://2024.djangocon.us/sitemap.xml

Pretty basic. LMK if it should do more.

Note that the generation is a little clunky. We exclude /presenters/ which are speaker cards, for obvious reasons. If there are more exceptions we'll want to move some logic elsewhere.

@mtrythall
Copy link
Collaborator

Assigning to @jefftriplett to confirm and close, since he filed.

@jefftriplett
Copy link
Member Author

I'm surprised they don't have a built-in way of doing these. Then again, https://www.11ty.dev/sitemap.xml gives me a 404.

Is it possible to keep the sitemap: false frontmatter that we had before? To clarify, the default is to include everything unless sitemap: false is set?

We used that quite a bit to control when certain pages get released, and it was a Jekyll/GitHub Pages built in behavior.

@jefftriplett
Copy link
Member Author

I think we'll need that opt-out on a page by page basis.

Depending on how the schedule is structured, we tend to have lots of noise from pages that are filler that don't need to be in a sitemap.

We run into this with the alternative homepages with the coming soon and recap pages too.

@mtrythall
Copy link
Collaborator

Sounds good. I'll wire this up.

@mtrythall
Copy link
Collaborator

sitemap: false does the trick.

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

No branches or pull requests

2 participants