diff --git a/blog.md b/blog.md index ca1a416e8..9fe2de337 100644 --- a/blog.md +++ b/blog.md @@ -20,3 +20,4 @@ and the Web platform. Also check out [the official WebKit blog](https://webkit.o
+  Feed diff --git a/blog.njk b/blog.njk new file mode 100644 index 000000000..c460ea73b --- /dev/null +++ b/blog.njk @@ -0,0 +1,31 @@ +---json +{ + "eleventyExcludeFromCollections": true, + "permalink": "/blog.xml", + "metadata": { + "title": "WPE WebKit Blog", + "description": "News related to WPE WebKit.", + "url": "https://wpewebkit.org/blog/", + "feedUrl": "https://wpewebkit.org/blog.xml" + } +} +--- + + + {{ metadata.title }} + {{ metadata.description }} + + + {{ collections.recentBlogPosts | getNewestCollectionItemDate | dateToRfc3339 }} + {{ metadata.url }} + {%- for post in collections.recentBlogPosts %} + {% set absolutePostUrl %}{{ post.url | url | absoluteUrl(metadata.url) }}{% endset %} + + {{ post.data.title }} + + {{ post.date | dateToRfc3339 }} + {{ absolutePostUrl }} + {{ post.templateContent | htmlToAbsoluteUrls(absolutePostUrl) }} + + {%- endfor %} +