fix: remove unnecessary head tags
All checks were successful
Docker / build-and-push-image (push) Successful in 2m35s

This commit is contained in:
Troy 2025-05-17 22:44:13 +01:00
parent 782bfc7c90
commit 9346a78c27
Signed by: troy
GPG key ID: DFC06C02ED3B4711
3 changed files with 311 additions and 145 deletions

View file

@ -26,7 +26,6 @@ if (typeof tags !== "undefined") {
<!-- Global Metadata -->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta content="True" name="HandheldFriendly" />
<meta content="en-gb" name="lang" />
<!-- Favicon -->
@ -49,7 +48,6 @@ if (typeof tags !== "undefined") {
href="/feed.xml"
}
/>
<link
rel="alternate"
type="application/rss+xml"
@ -57,7 +55,6 @@ if (typeof tags !== "undefined") {
href="/projects.xml"
}
/>
<link
rel="alternate"
type="application/rss+xml"
@ -80,13 +77,14 @@ if (typeof tags !== "undefined") {
name="keywords"
/>
<!-- Open Graph / Facebook -->
<!-- Open Graph -->
<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(image, Astro.url)} />
<meta property="og:site_name" content={SITE.TITLE} />
<!-- Article times -->
{
date ? (
<meta property="article:published_time" content={date.toISOString()} />
@ -98,13 +96,6 @@ if (typeof tags !== "undefined") {
) : null
}
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content={Astro.url} />
<meta property="twitter:title" content={title} />
<meta property="twitter:description" content={description} />
<meta property="twitter:image" content={new URL(image, Astro.url)} />
<!-- Font Preload -->
<Font cssVariable="--font-outfit" preload />
<Font cssVariable="--font-red-hat-mono" preload />