Repository navigation
Commit 29053f0
Add an RSS feed for the blog
hugo.yaml pins every page kind's outputs to ["HTML"] only, which
disables Hugo's built-in feed generation site-wide. Scoped RSS back on
for just the blog section (content/blog/_index.md's own `outputs:`
front matter overrides the site default for that page) rather than
flipping it on globally, so the resources catalog doesn't grow a feed
per category too.
- /blog/index.xml — standard RSS 2.0, one <item> per post, needed to
submit the blog to Planet for the MySQL Community and similar
aggregators.
- head.html now emits a <link rel="alternate" type="application/rss+xml">
wherever a page actually has one (via .AlternativeOutputFormats), so
it only shows up on /blog/ — home keeps its own JSON alternate link
for the search index, unaffected.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent 2a5ce62 commit 29053f0
2 files changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
19 | 24 | | |
20 | 25 | | |
21 | 26 | | |
| |||
0 commit comments