mirror of
https://github.com/maciejpedzich/maciejpedzi.ch.git
synced 2024-11-27 15:45:47 +01:00
Update default site icon and social image
This commit is contained in:
parent
ff69ca5828
commit
9e5f1c6761
@ -19,7 +19,7 @@ export interface Props {
|
||||
image?: string;
|
||||
}
|
||||
|
||||
const { title, description, image = '/placeholder-social.jpg' } = Astro.props;
|
||||
const { title, description, image = '/banner.png' } = Astro.props;
|
||||
|
||||
const canonicalURL = new URL(Astro.url.pathname, Astro.site);
|
||||
const actualTitle = title === 'home' ? SITE_TITLE : `${title} | ${SITE_TITLE}`;
|
||||
@ -30,7 +30,7 @@ const actualTitle = title === 'home' ? SITE_TITLE : `${title} | ${SITE_TITLE}`;
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<link rel="icon" type="image/png" href="/favicon.png" />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
<link rel="canonical" href={canonicalURL} />
|
||||
<title>{actualTitle}</title>
|
||||
|
Loading…
Reference in New Issue
Block a user