diff --git a/.eleventy.js b/.eleventy.js
index cfae0c0..fc1606e 100644
--- a/.eleventy.js
+++ b/.eleventy.js
@@ -52,5 +52,8 @@ module.exports = function (eleventyConfig) {
return `${folders[3]}/${folders[4]}/${file[0]}`
})
+ // RSS
+ eleventyConfig.addPlugin(require('@11ty/eleventy-plugin-rss'))
+
return {dir: {input: 'src', output: 'dist'}}
}
diff --git a/dist/links/index.html b/dist/links/index.html
index ed3f353..2808ca6 100644
--- a/dist/links/index.html
+++ b/dist/links/index.html
@@ -67,6 +67,9 @@
+
+
+
diff --git a/package-lock.json b/package-lock.json
index 4c4a66a..81d0094 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -16,6 +16,7 @@
},
"devDependencies": {
"@11ty/eleventy": "^2.0.1",
+ "@11ty/eleventy-plugin-rss": "^1.2.0",
"@ronilaukkarinen/stylelint-a11y": "^1.2.7",
"@types/alpinejs": "^3.7.1",
"cssnano": "^6.0.1",
@@ -119,6 +120,21 @@
"url": "https://opencollective.com/11ty"
}
},
+ "node_modules/@11ty/eleventy-plugin-rss": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@11ty/eleventy-plugin-rss/-/eleventy-plugin-rss-1.2.0.tgz",
+ "integrity": "sha512-YzFnSH/5pObcFnqZ2sAQ782WmpOZHj1+xB9ydY/0j7BZ2jUNahn53VmwCB/sBRwXA/Fbwwj90q1MLo01Ru0UaQ==",
+ "dev": true,
+ "dependencies": {
+ "debug": "^4.3.4",
+ "posthtml": "^0.16.6",
+ "posthtml-urls": "1.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/11ty"
+ }
+ },
"node_modules/@11ty/eleventy-plugin-vite": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/@11ty/eleventy-plugin-vite/-/eleventy-plugin-vite-4.0.0.tgz",
diff --git a/package.json b/package.json
index ad52531..a28fc7a 100644
--- a/package.json
+++ b/package.json
@@ -12,6 +12,7 @@
"license": "ISC",
"devDependencies": {
"@11ty/eleventy": "^2.0.1",
+ "@11ty/eleventy-plugin-rss": "^1.2.0",
"@ronilaukkarinen/stylelint-a11y": "^1.2.7",
"@types/alpinejs": "^3.7.1",
"cssnano": "^6.0.1",
diff --git a/src/feed.njk b/src/feed.njk
new file mode 100644
index 0000000..ca23a64
--- /dev/null
+++ b/src/feed.njk
@@ -0,0 +1,37 @@
+---json
+{
+ "permalink": "feed.xml",
+ "eleventyExcludeFromCollections": true,
+ "metadata": {
+ "title": "punkfairie.net",
+ "language": "en",
+ "url": "https://punkfairie.net",
+ "author": {
+ "name": "mar",
+ "email": "punkfairie@protonmail.com"
+ }
+ }
+}
+---
+
+
+ {{ metadata.title }}
+
+
+ {{ collections.posts | getNewestCollectionItemDate | dateToRfc3339 }}
+ {{ metadata.url }}
+
+ {{ metadata.author.name }}
+ {{ metadata.author.email }}
+
+ {%- for post in collections.posts | reverse %}
+ {%- set absolutePostUrl = post.url | absoluteUrl(metadata.url) %}
+
+ {{ post.data.title }}
+
+ {{ post.page.date | dateToRfc3339 }}
+ {{ absolutePostUrl }}
+ {{ post.templateContent | htmlToAbsoluteUrls(absolutePostUrl) }}
+
+ {%- endfor %}
+
diff --git a/src/images/links/melonland.gif b/src/images/links/melonland.gif
new file mode 100644
index 0000000..8f5e7a0
Binary files /dev/null and b/src/images/links/melonland.gif differ
diff --git a/src/links.liquid b/src/links.liquid
index 1d1c5f9..b0705f1 100644
--- a/src/links.liquid
+++ b/src/links.liquid
@@ -22,6 +22,9 @@ layout: layout.liquid
+
+
+