Skip to content

Keep only the blog RSS feeds; turn off git page dates - #1613

Open
kristin-kronstain-brown wants to merge 5 commits into
mainfrom
kkb-slim-rss
Open

kristin-kronstain-brown wants to merge 5 commits into
mainfrom
kkb-slim-rss

Conversation

@kristin-kronstain-brown

@kristin-kronstain-brown kristin-kronstain-brown commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

This PR keeps only the blog's RSS feeds and turns off the feeds for every docs section. The site's feed output drops from about 159 MB to 3.6 MB.

It also turns off git-based page dates, so docs pages no longer get a sitemap <lastmod>, an Open Graph article:modified_time, or a JSON-LD dateModified. Blog posts keep the date they set in front matter.

Before this change, the site built about 880 section feeds. Each one carried the full content of up to 50 pages, including every old docs version. No page linked to any of them, and their items had no real dates.

Changes

  • hugo.yaml: section drops RSS, and taxonomy and term are HTML only. home keeps RSS, so /index.xml still lists the blog posts.
  • content/blog/_index.md adds rss to its own outputs, so /blog/index.xml keeps working.
  • The two version-root _index.md files drop "rss" from their outputs.
  • Deletes layouts/_default/list.rss.xml, a copy of Hextra's template, so the theme's template applies.
  • hugo.yaml drops enableGitInfo, and frontmatter.lastmod becomes ["lastmod", "date", "publishDate"].

Why drop the page dates

  • Git dates miss content changes. Many docs pages are short wrappers whose text comes from snippets under assets/. Editing a snippet does not change the wrapper's git date.
  • A shallow checkout gives every page the same date. Search engines read that as "every page changed on every deploy."
  • A wrong date is worse than none. Google uses lastmod only when it is "consistently and verifiably accurate", and trusts or ignores all of a site's dates together, as described in https://developers.google.com/search/blog/2023/06/sitemaps-lastmod-ping

solo-io/docs-theme-extras#111 tracks a prototype that dates each page from the snippets it uses.

Results

Local build of this branch:

Feed Items
/index.xml 47 blog posts
/blog/index.xml 47 blog posts

No other feeds are built. The sitemap lists 4,761 pages, and 49 of them have a <lastmod>. Those are the 47 blog posts, the blog list page, and the home page. Hextra adds no RSS <link rel="alternate"> tags, so no page points at a removed feed.

How to test

  1. Build the site with hugo --gc --minify.
  2. Run find public -name '*.xml' -not -name 'sitemap*'. Only index.xml and blog/index.xml should be listed.
  3. Open public/index.xml and check that it lists the blog posts with their featured images.
  4. Run grep -B1 '<lastmod>' public/sitemap.xml | grep '<loc>'. Only blog pages and the home page should be listed.

🤖 Generated with Claude Code

Signed-off-by: Kristin Brown <kristin.brown@solo.io>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Deploying agentproxy with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8710a16
Status: ✅  Deploy successful!
Preview URL: https://d000f83b.agentproxy.pages.dev
Branch Preview URL: https://kkb-slim-rss.agentproxy.pages.dev

View logs

Signed-off-by: Kristin Brown <kristin.brown@solo.io>
Signed-off-by: Kristin Brown <kristin.brown@solo.io>
@kristin-kronstain-brown kristin-kronstain-brown changed the title Use the shared slim RSS template from docs-theme-extras Keep only the blog RSS feeds Dec 2, 2026
Signed-off-by: Kristin Brown <kristin.brown@solo.io>
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.

1 participant