feat: add WebSub support for real-time feed updates

Advertise WebSub hub (websubhub.com) in three discovery layers:
- HTML <link rel="hub"> in page head
- <atom:link rel="hub"> in RSS feed
- "hubs" array in JSON Feed 1.1

Notify hub after each Eleventy build so subscribers receive
push updates when new content is published.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Ricardo
2026-02-05 16:34:37 +01:00
parent 71c314152c
commit c17ca030c8
4 changed files with 30 additions and 2 deletions

View File

@@ -7,6 +7,12 @@ eleventyExcludeFromCollections: true
"title": "{{ site.name }}",
"home_page_url": "{{ site.url }}/",
"feed_url": "{{ site.url }}/feed.json",
"hubs": [
{
"type": "WebSub",
"url": "https://websubhub.com/hub"
}
],
"description": "{{ site.description }}",
"language": "{{ site.locale | default('en') }}",
"authors": [