note archived-ness on the rss feed
All checks were successful
Web/pipeline/head This commit looks good
All checks were successful
Web/pipeline/head This commit looks good
This commit is contained in:
parent
4920725c29
commit
837cd67c74
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue