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

This commit is contained in:
Ell 2020-09-30 00:27:47 +02:00
parent 4920725c29
commit 837cd67c74
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni

Vedi File

@ -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,