note archived-ness on the rss feed
Web/pipeline/head This commit looks good Details

This commit is contained in:
Ell 2020-09-30 00:27:47 +02:00
bovenliggende 4920725c29
commit 837cd67c74
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen

Bestand weergeven

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