mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 19:51:07 +02:00
optimize: rss generation
This commit is contained in:
parent
54902da6dd
commit
ff59dc1a7c
6 changed files with 16 additions and 23 deletions
|
@ -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 -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue