diff --git a/.eleventy.js b/.eleventy.js index a60d522a8d7ad4ecd33258dd94917dfeebf19540..902c7d022841bd8a1fbed6be366d74dd71d4318c 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -15,12 +15,6 @@ module.exports = function(eleventyConfig) { eleventyConfig.addPlugin(pluginNavigation); eleventyConfig.addPlugin(pluginSEO); - - redirect('/2020/03/14/The-Discord-privacy-scandal.html', '/articles/discord.html'); - redirect('/2020/05/02/Twitter-we-need-a-break.html', '/articles/twitter.html'); - redirect('/2020/05/02/Twitter-we-need-a-break.html', '/articles/mastodon.html'); - redirect('/2020/05/18/Isolation-the-effects-on-mental-health.html', '/articles/isolation.html'); - eleventyConfig.addShortcode('removeTrailingSlash', string => string.replace(/\/$/, '')); eleventyConfig.setDataDeepMerge(true); diff --git a/articles/_data.json b/articles/_data.json deleted file mode 100644 index b20b3050097f819d7309c25944452c7859f7c862..0000000000000000000000000000000000000000 --- a/articles/_data.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "a-new-platform": { - "title": "A New Platform.", - "category": "/2020/06/", - "date": "06/06/2020", - "summary": "The new blog is here!" - }, - "discord": { - "title": "Discord", - "category": "/2020/06/", - "date": "08/06/2020", - "summary": "Were we wrong to switch to Discord?" - } -} \ No newline at end of file