summaryrefslogtreecommitdiff
path: root/examples/blog-multiple-authors/src/components/MainHead.astro
diff options
context:
space:
mode:
authorGravatar Erika <3019731+Princesseuh@users.noreply.github.com> 2022-08-04 14:16:51 -0400
committerGravatar GitHub <noreply@github.com> 2022-08-04 14:16:51 -0400
commitf591150512903014461e4fa1be3bc53bd261af2f (patch)
treedfdad8d11b3379cc47618398281ebca6e1be91bc /examples/blog-multiple-authors/src/components/MainHead.astro
parent32580d4fdc6ba8bb9a7e39e0b2c001ab29b3b940 (diff)
downloadastro-f591150512903014461e4fa1be3bc53bd261af2f.tar.gz
astro-f591150512903014461e4fa1be3bc53bd261af2f.tar.zst
astro-f591150512903014461e4fa1be3bc53bd261af2f.zip
Audit examples templates (#3940)
* basics, framework-alpine, framework-solid, delete unused examples * framework-multiple * Remove non-standard file extensions, add missing .vscode folders * Remove robots.txt * Remove blog-multiple-authors * Rewrite components comments to be consistent * Update lockfile * Remove unnecessary usage of SCSS in subpath example * Fix props weirdness in portfolio example * Remove Lit from `framework-multiple` for now * Misc fixes * Update lockfile * I'm in lockfile hell, send help
Diffstat (limited to 'examples/blog-multiple-authors/src/components/MainHead.astro')
-rw-r--r--examples/blog-multiple-authors/src/components/MainHead.astro49
1 files changed, 0 insertions, 49 deletions
diff --git a/examples/blog-multiple-authors/src/components/MainHead.astro b/examples/blog-multiple-authors/src/components/MainHead.astro
deleted file mode 100644
index be3584519..000000000
--- a/examples/blog-multiple-authors/src/components/MainHead.astro
+++ /dev/null
@@ -1,49 +0,0 @@
----
-import "../styles/global.css";
-
-export interface Props {
- title: string;
- description: string;
- image?: string;
- type?: string;
- next?: string;
- prev?: string;
- canonicalURL?: string | URL;
-}
-
-const { title, description, image, type, next, prev, canonicalURL } = Astro.props as Props;
----
-
-<!-- Common -->
-<meta charset="UTF-8" />
-<title>{title}</title>
-<meta name="description" content={description} />
-<link rel="preconnect" href="https://fonts.gstatic.com" />
-<link
- href="https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,400;0,700;1,400;1,700&display=swap"
- rel="stylesheet"
-/>
-<!-- Sitemap -->
-<link rel="sitemap" href="/sitemap.xml" />
-<!-- RSS -->
-<link rel="alternate" type="application/rss+xml" href="/feed/posts.xml" />
-
-<!-- Favicon -->
-<link rel="icon" type="image/x-icon" href="/favicon.ico" />
-
-<!-- SEO -->
-<link rel="canonical" href={canonicalURL} />
-{next && <link rel="next" aria-label="Previous Page" href={new URL(next, canonicalURL).href} />}
-{prev && <link rel="prev" aria-label="Next Page" href={new URL(prev, canonicalURL).href} />}
-
-<!-- OpenGraph -->
-<meta property="og:title" content={title} />
-<meta property="og:description" content={description} />
-{image && <meta property="og:image" content={new URL(image, canonicalURL)} />}
-
-<!-- Twitter -->
-<meta name="twitter:card" content={image ? "summary_large_image" : "summary"} />
-<meta name="twitter:site" content="@astro" />
-<meta name="twitter:title" content={title} />
-<meta name="twitter:description" content={description} />
-{image && <meta name="twitter:image" content={image} />}