update content
This commit is contained in:
parent
339a4cb482
commit
0f971ff30e
4 changed files with 7 additions and 6 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import { Feed } from "feed";
|
||||
import { getArtifacts } from "utils";
|
||||
|
||||
// const SITE_URL = "http://localhost:3000";
|
||||
const SITE_URL = "https://ryanchristo.com";
|
||||
|
||||
function getAllArtifacts() {
|
||||
|
|
@ -21,9 +22,9 @@ export function buildFeed() {
|
|||
language: "en",
|
||||
favicon: `${SITE_URL}/favicon.ico`,
|
||||
feedLinks: {
|
||||
rss2: `${SITE_URL}/feed`,
|
||||
atom: `${SITE_URL}/feed/atom`,
|
||||
json: `${SITE_URL}/feed/json`,
|
||||
rss2: `${SITE_URL}/feed/rss`,
|
||||
},
|
||||
author: { name: "Ryan Christoffersen" },
|
||||
copyright: "All rights reserved",
|
||||
|
|
@ -40,9 +41,9 @@ export function buildFeed() {
|
|||
published: a.created,
|
||||
author: [{ name: a.author }],
|
||||
category: [{ name: a.category }],
|
||||
content: a.content,
|
||||
audio: a.audio,
|
||||
video: a.video,
|
||||
// content: a.content,
|
||||
// audio: a.audio,
|
||||
// video: a.video,
|
||||
copyright: "All rights reserved",
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue