update content

This commit is contained in:
ryanchristo 2026-11-20 09:11:13 -08:00
parent 339a4cb482
commit 0f971ff30e
No known key found for this signature in database
4 changed files with 7 additions and 6 deletions

View file

@ -8,7 +8,7 @@ import "./globals.css";
const Layout = ({ children }: any) => (
<html lang="en">
<head>
<link rel="alternate" type="application/rss+xml" title="rss" href="/feed" />
<link rel="alternate" type="application/rss+xml" title="rss" href="/feed/rss" />
<link rel="alternate" type="application/atom+xml" title="atom" href="/feed/atom" />
<link rel="alternate" type="application/feed+json" title="json" href="/feed/json" />
</head>

View file

@ -35,7 +35,7 @@ const Header = () => {
<Link href="/artifacts">{"artifacts"}</Link>
</li>
<li>
<Link href="/feed" target="_blank">{"rss"}</Link>
<Link href="/feed/rss" target="_blank">{"rss"}</Link>
</li>
<li>
<button className={styles.themeButton} onClick={toggleTheme}>

View file

@ -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",
});
}