refactor: remove unused <svelte:head> elements and associated metadata from documentation layouts

This commit is contained in:
Raj Nandan Sharma
2026-03-20 16:41:58 +05:30
parent a26d0ece59
commit ffe7403043
4 changed files with 6 additions and 63 deletions
-1
View File
@@ -16,7 +16,6 @@
<ModeWatcher />
<Toaster />
<svelte:head></svelte:head>
<main>
{@render children()}
</main>
@@ -23,8 +23,6 @@
</script>
<svelte:head>
<title>{data.config.name}</title>
<meta name="description" content="Documentation for {data.config.name}" />
<!-- favicon -->
<link rel="icon" href={data.config.favicon} />
</svelte:head>
@@ -149,14 +149,18 @@
<svelte:head>
<title>{data.title} - Documentation</title>
<meta name="description" content={data.description || `Documentation for ${data.title}`} />
<meta property="article:author" content="https://github.com/rajnandan1" />
<link rel="canonical" href={`https://kener.ing/docs/${data.slug}`} />
<meta property="og:title" content="{data.title} - Documentation" />
<meta property="og:description" content={data.description || `Documentation for ${data.title}`} />
<meta property="og:type" content="article" />
<meta property="article:author" content="https://github.com/rajnandan1" />
<link rel="canonical" href={`https://kener.ing/docs/${data.slug}`} />
<meta property="og:url" content={`https://kener.ing/docs/${data.slug}`} />
<meta property="og:logo" content="https://kener.ing/logo96.png" />
<meta property="og:image" content="https://kener.ing/og.jpg" />
<meta name="twitter:title" content="{data.title} - Documentation" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:description" content={data.description || `Documentation for ${data.title}`} />
<meta name="twitter:image" content="https://kener.ing/og.jpg" />
{@html `<script type="application/ld+json">${JSON.stringify({
"@context": "https://schema.org",
"@type": "BreadcrumbList",
-58
View File
@@ -9,64 +9,6 @@
</script>
<svelte:head>
<title>Kener Documentation</title>
<!-- social preview og.jpg -->
<meta property="og:image" content="https://kener.ing/og.jpg" />
<meta property="og:title" content="Kener Documentation" />
<meta
property="og:description"
content="Comprehensive documentation for Kener, the open-source status page system. Learn how to set up, customize, and manage your own status page with monitoring, incident management, and notifications."
/>
<meta property="og:site_name" content="Kener" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Kener Documentation" />
<meta
name="twitter:description"
content="Comprehensive documentation for Kener, the open-source status page system. Learn how to set up, customize, and manage your own status page with monitoring, incident management, and notifications."
/>
<meta name="twitter:image" content="https://kener.ing/og.jpg" />
<meta name="author" content="Raj Nandan Sharma" />
<link rel="author" href="https://github.com/rajnandan1" />
{@html `<script type="application/ld+json">${JSON.stringify({
"@context": "https://schema.org",
"@graph": [
{
"@type": "Organization",
name: "Kener",
url: "https://kener.ing",
logo: "https://kener.ing/logo96.png",
sameAs: ["https://github.com/rajnandan1/kener"]
},
{
"@type": "SoftwareApplication",
name: "Kener",
applicationCategory: "DeveloperApplication",
operatingSystem: "Linux, macOS, Windows",
url: "https://kener.ing",
description:
"Open-source status page system built with SvelteKit. Features real-time monitoring (API, Ping, TCP, DNS, SSL, SQL, gRPC), incident management, maintenance scheduling, notifications (email, Slack, Discord, webhooks), embeddable widgets, and a REST API.",
offers: {
"@type": "Offer",
price: "0",
priceCurrency: "USD"
},
author: {
"@type": "Person",
name: "Raj Nandan Sharma",
url: "https://github.com/rajnandan1"
},
license: "https://opensource.org/licenses/MIT",
softwareVersion: "4.x",
downloadUrl: "https://github.com/rajnandan1/kener",
screenshot: "https://kener.ing/og.jpg"
},
{
"@type": "WebSite",
name: "Kener",
url: "https://kener.ing"
}
]
})}</script>`}
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Q3MLRXCBFT"></script>
<script>