Apologise profusely for spam
This commit is contained in:
parent
b10dfae5dd
commit
23f59d9576
10
src/blog/posts/2023/12/sorry-for-the-spam.md
Normal file
10
src/blog/posts/2023/12/sorry-for-the-spam.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
title: Sorry for the spam
|
||||||
|
date: 2023-12-30
|
||||||
|
---
|
||||||
|
|
||||||
|
If you're subscribed to any of my site feeds, you might have noticed that suddenly you've been flooded with every post I've ever written.
|
||||||
|
|
||||||
|
My bad - I'm removing Wordpress from my setup, which means using Eleventy-generated feeds once again. I've setup Nginx rules so that the existing URLs will all work, but because the Wordpress feeds use the internal wordpress IDs instead of post urls, most feed readers will parse them as brand new posts.
|
||||||
|
|
||||||
|
So... sorry about that!
|
@ -1,9 +1,5 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
tags: ['posts'],
|
tags: ['posts'],
|
||||||
layout: 'post.njk',
|
layout: 'post.njk',
|
||||||
eleventyComputed: {
|
permalink: "/post/{{ data.slug if data.slug else title | slugify }} "
|
||||||
permalink: data => {
|
|
||||||
return `/post/${data.slug}/`;
|
|
||||||
},
|
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user