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:
@@ -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": [
|
||||
|
||||
Reference in New Issue
Block a user