some minor rss feed fixes
All checks were successful
Web/pipeline/head This commit looks good

This commit is contained in:
Ell 2021-03-31 03:03:58 +02:00
parent 513f54bb2e
commit ea411c3599

View file

@ -16,8 +16,8 @@ function createFeed(callback) {
const feed = new Feed({ const feed = new Feed({
title: "Ellpeck's Blog", title: "Ellpeck's Blog",
description: "Occasionally I enjoy writing stuff. So here's some of the stuff I've written about gaming, programming and life.", description: "Occasionally I enjoy writing stuff. So here's some of the stuff I've written about gaming, programming and life.",
id: "https://ellpeck.de", id: "https://ellpeck.de/",
link: "https://ellpeck.de", link: "https://ellpeck.de/",
image: "https://ellpeck.de/res/logo.png", image: "https://ellpeck.de/res/logo.png",
favicon: "https://ellpeck.de/favicon.ico", favicon: "https://ellpeck.de/favicon.ico",
language: "en", language: "en",
@ -29,7 +29,7 @@ function createFeed(callback) {
author: { author: {
name: "Ellpeck", name: "Ellpeck",
email: "me@ellpeck.de", email: "me@ellpeck.de",
link: "https://ellpeck.de" link: "https://ellpeck.de/"
} }
}); });
@ -53,10 +53,6 @@ function createFeed(callback) {
name: c name: c
})) }))
}); });
for (let cat of post.cat) {
if (feed.categories.indexOf(cat) < 0)
feed.addCategory(cat);
}
if (index === 0) if (index === 0)
finalCallback(feed); finalCallback(feed);