optimize: rss generation

This commit is contained in:
radishzzz 2025-03-14 23:34:10 +00:00
parent 54902da6dd
commit ff59dc1a7c
6 changed files with 16 additions and 23 deletions

View file

@ -22,7 +22,7 @@ const initMetaTheme = mode === 'dark' ? darkMode : lightMode
const pageTitle = postTitle ? `${postTitle} | ${title}` : `${title} - ${subtitle}`
const pageDescription = postDescription || description
// TODO: Change openGraph image fallback url
const pageImage = postSlug ? `${url}/og/${postSlug}.png` : 'https://placehold.co/1200x630'
const pageImage = postSlug ? `${url}/opengraph/${postSlug}.png` : 'https://placehold.co/1200x630'
---
<head>
<!-- Basic info -->