From 2a5a579bf81bd35430adcd91ec246087bcbdf9fc Mon Sep 17 00:00:00 2001 From: Tw93 Date: Tue, 21 Jan 2025 15:41:23 +0800 Subject: [PATCH] :art: update version --- .gitignore | 1 + package.json | 4 ++-- src/pages/rss.xml.js | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 7e34d03f..366fded5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # Build output .output/ +.astro/ dist/ # Dependencies diff --git a/package.json b/package.json index b53141e7..62367da1 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "@pagefind/default-ui": "^1.3.0", - "astro": "^5.1.6", + "astro": "^5.1.8", "axios": "^1.7.9", "dayjs": "^1.11.13", "lozad": "^1.16.0", @@ -32,7 +32,7 @@ }, "devDependencies": { "@astrojs/rss": "^4.0.11", - "@astrojs/tailwind": "^5.1.4", + "@astrojs/tailwind": "^5.1.5", "@tailwindcss/typography": "^0.5.15", "@types/lozad": "^1.16.4", "node-html-parser": "^6.1.13", diff --git a/src/pages/rss.xml.js b/src/pages/rss.xml.js index 849d0648..3a5a2e40 100644 --- a/src/pages/rss.xml.js +++ b/src/pages/rss.xml.js @@ -24,7 +24,7 @@ export function GET() { return { link: item.url, title, - description: item.compiledContent(), + description: item.frontmatter.desc, pubDate: item.frontmatter.date, }; }),