HAKSJDHAJLKSGDHLJASHDK

This commit is contained in:
Kebo Kitanari 2024-11-12 15:41:43 -06:00
parent eb03df4661
commit 15cfef5332

View file

@ -78,7 +78,9 @@ export async function addPostsToFeed(feed: Feed, main?: boolean) {
.slice(0,20); .slice(0,20);
posts.forEach((post) => { posts.forEach((post) => {
const url: string = `${baseURL}/posts/${post.id}` if (post.data.draft) { return }
const url: string = `${baseURL}/posts/${post.slug}`
let title: string = ''; let title: string = '';
if (main) { if (main) {
title = title.concat('[blog] '); title = title.concat('[blog] ');