mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 03:32:51 +02:00
fix: favicon and rss url error
This commit is contained in:
parent
9283287442
commit
850d9c2403
10 changed files with 23 additions and 13 deletions
|
@ -19,7 +19,7 @@ const links = configLinks.map((link) => {
|
|||
if (link.name === 'RSS') {
|
||||
return {
|
||||
...link,
|
||||
url: currentLang === defaultLocale ? link.url : `/${currentLang}${link.url}/`,
|
||||
url: currentLang === defaultLocale ? link.url : `/${currentLang}${link.url}`,
|
||||
}
|
||||
}
|
||||
return link
|
||||
|
|
|
@ -17,7 +17,7 @@ export const themeConfig: ThemeConfig = {
|
|||
url: 'https://retypeset.radishzz.cc',
|
||||
// favicon url
|
||||
// recommended formats: SVG, PNG and ICO
|
||||
favicon: '/assets/favicon.svg', // or https://example.com/favicon.svg
|
||||
favicon: '/icon/favicon.svg', // or https://example.com/favicon.svg
|
||||
},
|
||||
// SITE INFORMATION >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> END
|
||||
|
||||
|
|
|
@ -56,7 +56,8 @@ const pageImage = postSlug
|
|||
{commentURL && <link rel="dns-prefetch" href={commentURL} />}
|
||||
{imageHostURL && <link rel="preconnect" href={imageHostURL} crossorigin />}
|
||||
{imageHostURL && <link rel="dns-prefetch" href={imageHostURL} />}
|
||||
<link rel="alternate" href="/rss.xml" type="application/rss+xml" title="RSS" />
|
||||
<link rel="alternate" href="/rss.xml" type="application/rss+xml" title="RSS Feed" />
|
||||
<link rel="alternate" href="/atom.xml" type="application/atom+xml" title="Atom Feed" />
|
||||
<link rel="sitemap" href="/sitemap-index.xml" />
|
||||
<link rel="canonical" href={Astro.url} />
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ export const { getStaticPaths, GET } = OGImageRoute({
|
|||
title: page.title,
|
||||
description: page.description,
|
||||
logo: {
|
||||
path: './public/image/og-logo.png', // Required local path and PNG format
|
||||
path: './public/icon/og-logo.png', // Required local path and PNG format
|
||||
size: [250],
|
||||
},
|
||||
border: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue