diff --git a/src/app.d.ts b/src/app.d.ts
index f14e84e..98a2aa9 100644
--- a/src/app.d.ts
+++ b/src/app.d.ts
@@ -22,7 +22,6 @@ declare global {
slug: string;
title: string;
thumbnail?: string;
- thumbnailAlt?: string;
date?: string;
dateChanged?: string;
description: string;
@@ -33,4 +32,4 @@ declare global {
}
}
-export { };
+export {};
diff --git a/src/routes/blog/+page.svelte b/src/routes/blog/+page.svelte
index e5d11ae..1fda149 100644
--- a/src/routes/blog/+page.svelte
+++ b/src/routes/blog/+page.svelte
@@ -46,18 +46,18 @@
>
{monthYear}
-
-
diff --git a/src/routes/blog/rss.xml/+server.ts b/src/routes/blog/rss.xml/+server.ts
index 69564c5..ea949f3 100644
--- a/src/routes/blog/rss.xml/+server.ts
+++ b/src/routes/blog/rss.xml/+server.ts
@@ -1,4 +1,4 @@
-import { fetchPostsSorted, resolveBlogPath } from "$src/lib/util/Blogs";
+import { fetchPostsSorted } from "$src/lib/util/Blogs";
export const prerender = true;
@@ -13,14 +13,6 @@ function escapeXml(unsafe: string): string {
.replace(/'/g, "'");
}
-function makeThumbnail(post: App.BlogPost): string {
- if (!post.thumbnail) return '';
-
- const alt = !!post.thumbnailAlt ? ` alt="${escapeXml(post.thumbnailAlt)}"` : '';
-
- return `
`;
-}
-
export async function GET({ setHeaders }) {
setHeaders({
'Cache-Control': 'max-age=0, s-maxage=3600',
@@ -36,7 +28,7 @@ export async function GET({ setHeaders }) {
${feedUpdated.toUTCString()}
${posts.map((post) => `-
${escapeXml(post.title)}
-
+${escapeXml(post.description)}
https://teasanctuary.ru/blog/${post.slug}
https://teasanctuary.ru/blog/${post.slug}
${(new Date(post.date!)).toUTCString()}