chore: add sitemap integration and update favicon
- Add @astrojs/sitemap and configure in astro.config.mjs - Add favicon.svg, apple-touch-icon.png, icon-192.png, icon-512.png - Add site.webmanifest and update Layout.astro to reference icons and manifest - Update robots.txt to include sitemap - Update favicon and icon links in Layout.astro
This commit is contained in:
parent
4eb84e1513
commit
f88cc799cb
11 changed files with 115 additions and 6 deletions
|
|
@ -17,7 +17,11 @@ const { title, description } = Astro.props;
|
|||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="icon" type="image/ico" href="/favicon.ico" />
|
||||
<link rel="icon" href="/favicon.ico" sizes="any" />
|
||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
||||
<link rel="manifest" href="/site.webmanifest" />
|
||||
<link rel="me" href="https://mastodon.social/@fiatcode" />
|
||||
<title>{title}</title>
|
||||
<meta name="description" content={description} />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue