generate permalinks when parsing note

This commit is contained in:
2022-01-03 16:26:20 -05:00
parent 6d81939b8b
commit d2b71887b4
5 changed files with 16 additions and 111 deletions
+2 -2
View File
@@ -25,9 +25,9 @@ export const buildFeed = () => {
const notes = getAllNotes();
notes.forEach((note: any) => {
feed.addItem({
guid: note.permalink,
link: note.permalink,
title: note.title,
link: `${config.baseUrl}/notes/${note.slug}/`,
guid: `${config.baseUrl}/notes/${note.slug}/`,
description: note.description,
image: note.image ? `${config.baseUrl}${note.image}` : "",
author: [