forked from AREA44/astro-multiverse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
765b46a
commit 5a27d75
Showing
4 changed files
with
49 additions
and
10 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
User-agent: * | ||
Allow: / | ||
|
||
Sitemap: https://astro-multiverse.netlify.app/sitemap-index.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
interface Props { | ||
title?: string | undefined; | ||
description?: string | undefined; | ||
author?: string | undefined; | ||
og?: string | undefined; | ||
} | ||
const { title, description, author, og } = Astro.props; | ||
--- | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="robots" content="index, follow" /> | ||
<meta | ||
name="googlebot" | ||
content="index, follow, max-video-preview:-1, max-image-preview:large, max-snippet:-1" | ||
/> | ||
<meta name="viewport" content="width=device-width,initial-scale=1" /> | ||
<meta name="generator" content={Astro.generator} /> | ||
<link rel="shortcut icon" type="image/png" href="/favicon.ico" /> | ||
<link rel="sitemap" type="application/xml" href="/sitemap-index.xml"> | ||
<title>{title}</title> | ||
<meta name="title" content={title} /> | ||
<meta name="description" content={description} /> | ||
<meta name="author" content={author} /> | ||
<meta property="og:type" content="website" /> | ||
<meta property="og:url" content={Astro.url} /> | ||
<meta property="og:title" content={title} /> | ||
<meta property="og:description" content={description} /> | ||
<meta property="og:image" content={new URL(og, Astro.url)} /> | ||
<meta name="twitter:url" content={Astro.url} /> | ||
<meta name="twitter:title" content={title} /> | ||
<meta name="twitter:description" content={description} /> | ||
<meta name="twitter:image" content={new URL(og, Astro.url)} /> | ||
<meta name="twitter:card" content="summary_large_image" /> | ||
<link rel="stylesheet" href="css/main.css" /> | ||
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters