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

This commit is contained in:
Ell 2020-09-30 00:27:47 +02:00
rodič 4920725c29
revize 837cd67c74
1 změnil soubory, kde provedl 1 přidání a 1 odebrání

Zobrazit soubor

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