Update deps & Meta tags changes
This commit is contained in:
+11
-11
@@ -9,23 +9,23 @@
|
|||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/mdx": "^4.3.6",
|
"@astrojs/mdx": "^4.3.9",
|
||||||
"@astrojs/solid-js": "^5.1.1",
|
"@astrojs/solid-js": "^5.1.2",
|
||||||
"@tailwindcss/vite": "^4.1.13",
|
"@tailwindcss/vite": "^4.1.16",
|
||||||
"astro": "^5.14.1",
|
"astro": "^5.15.3",
|
||||||
"fuse.js": "^7.1.0",
|
"fuse.js": "^7.1.0",
|
||||||
"party-js": "^2.2.0",
|
"party-js": "^2.2.0",
|
||||||
"qrcode-generator": "^2.0.4",
|
"qrcode-generator": "^2.0.4",
|
||||||
"sharp": "^0.34.4",
|
"sharp": "^0.34.4",
|
||||||
"solid-js": "^1.9.9",
|
"solid-js": "^1.9.10",
|
||||||
"tailwindcss": "^4.1.13"
|
"tailwindcss": "^4.1.16"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.17.1+sha512.17c560fca4867ae9473a3899ad84a88334914f379be46d455cbf92e5cf4b39d34985d452d2583baf19967fa76cb5c17bc9e245529d0b98745721aa7200ecaf7a",
|
"packageManager": "pnpm@10.20.0+sha512.cf9998222162dd85864d0a8102e7892e7ba4ceadebbf5a31f9c2fce48dfce317a9c53b9f6464d1ef9042cba2e02ae02a9f7c143a2b438cd93c91840f0192b9dd",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^24.5.2",
|
"@types/node": "^24.9.2",
|
||||||
"typescript": "^5.9.2",
|
"typescript": "^5.9.3",
|
||||||
"typescript-plugin-toml": "^0.5.0",
|
"typescript-plugin-toml": "^0.5.0",
|
||||||
"vite-plugin-toml": "^0.8.4",
|
"vite-plugin-toml": "^0.8.5",
|
||||||
"wrangler": "^4.40.2"
|
"wrangler": "^4.45.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+681
-775
File diff suppressed because it is too large
Load Diff
@@ -31,7 +31,7 @@ const site = ORIGIN ?? Astro.url.host;
|
|||||||
<meta property="og:image" content={banner.src} />
|
<meta property="og:image" content={banner.src} />
|
||||||
|
|
||||||
<!-- X (Twitter) -->
|
<!-- X (Twitter) -->
|
||||||
<meta property="twitter:card" content="summary" />
|
<meta property="twitter:card" content="summary_large_image" />
|
||||||
<meta property="twitter:url" content={site} />
|
<meta property="twitter:url" content={site} />
|
||||||
<meta property="twitter:title" content={shownTitle} />
|
<meta property="twitter:title" content={shownTitle} />
|
||||||
<meta property="twitter:description" content={shownDescription} />
|
<meta property="twitter:description" content={shownDescription} />
|
||||||
|
|||||||
@@ -1,8 +1,15 @@
|
|||||||
---
|
---
|
||||||
import { ClientRouter } from "astro:transitions";
|
import { ClientRouter } from "astro:transitions";
|
||||||
|
import { ORIGIN } from "astro:env/server";
|
||||||
|
import banner from "@/assets/imgs/site/banner_1280x720.png";
|
||||||
import "../styles/global.css";
|
import "../styles/global.css";
|
||||||
|
|
||||||
const { title, description } = Astro.props;
|
const { title, description } = Astro.props;
|
||||||
|
const shownTitle = title ?? "Move to Linux";
|
||||||
|
const shownDescription =
|
||||||
|
description ??
|
||||||
|
"A guide on moving to Linux. Installation, Usage, and Applications.";
|
||||||
|
const site = ORIGIN ?? Astro.url.host;
|
||||||
---
|
---
|
||||||
|
|
||||||
<html lang="en" transition:name="root" transition:animate="none">
|
<html lang="en" transition:name="root" transition:animate="none">
|
||||||
@@ -11,9 +18,25 @@ const { title, description } = Astro.props;
|
|||||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||||
<meta name="viewport" content="width=device-width" />
|
<meta name="viewport" content="width=device-width" />
|
||||||
<meta name="generator" content={Astro.generator} />
|
<meta name="generator" content={Astro.generator} />
|
||||||
{description ? <meta name="description" content={description} /> : null}
|
|
||||||
|
|
||||||
<title>{title ?? "Move to Linux"}</title>
|
<!-- Primary Meta Tags -->
|
||||||
|
<title>{shownTitle}</title>
|
||||||
|
<meta name="title" content={shownTitle} />
|
||||||
|
<meta name="description" content={shownDescription} />
|
||||||
|
|
||||||
|
<!-- Open Graph / Facebook -->
|
||||||
|
<meta property="og:type" content="website" />
|
||||||
|
<meta property="og:url" content={site} />
|
||||||
|
<meta property="og:title" content={shownTitle} />
|
||||||
|
<meta property="og:description" content={shownDescription} />
|
||||||
|
<meta property="og:image" content={banner.src} />
|
||||||
|
|
||||||
|
<!-- X (Twitter) -->
|
||||||
|
<meta property="twitter:card" content="summary_large_image" />
|
||||||
|
<meta property="twitter:url" content={site} />
|
||||||
|
<meta property="twitter:title" content={shownTitle} />
|
||||||
|
<meta property="twitter:description" content={shownDescription} />
|
||||||
|
<meta property="twitter:image" content={banner.src} />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<slot />
|
<slot />
|
||||||
|
|||||||
Reference in New Issue
Block a user