mirror of
https://github.com/svemagie/blog-eleventy-indiekit.git
synced 2026-05-15 15:08:51 +02:00
fix: notify WebSub hub about homepage URL too
Subscribers discovering via HTML rel="self" subscribe to the homepage topic, not the feed URL. Must notify hub for all topic URLs so those subscriptions receive updates. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -421,6 +421,7 @@ export default function (eleventyConfig) {
|
|||||||
// WebSub hub notification — notify subscribers of feed updates
|
// WebSub hub notification — notify subscribers of feed updates
|
||||||
const hubUrl = "https://websubhub.com/hub";
|
const hubUrl = "https://websubhub.com/hub";
|
||||||
const feedUrls = [
|
const feedUrls = [
|
||||||
|
siteUrl,
|
||||||
`${siteUrl}/feed.xml`,
|
`${siteUrl}/feed.xml`,
|
||||||
`${siteUrl}/feed.json`,
|
`${siteUrl}/feed.json`,
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user