note archived-ness on the rss feed
All checks were successful
Web/pipeline/head This commit looks good

This commit is contained in:
Ell 2020-09-30 00:27:47 +02:00
parent 4920725c29
commit 837cd67c74

View file

@ -40,7 +40,7 @@ function createFeed(callback) {
fs.readFile(__dirname + "/../blog/" + post.id + ".md", function (_, content) { fs.readFile(__dirname + "/../blog/" + post.id + ".md", function (_, content) {
let html = converter.makeHtml(content.toString()); let html = converter.makeHtml(content.toString());
feed.addItem({ feed.addItem({
title: post.name, title: post.name + (post.archived ? " (Archived)" : ""),
link: "https://ellpeck.de/blog-" + post.id, link: "https://ellpeck.de/blog-" + post.id,
description: post.summary, description: post.summary,
content: html, content: html,