From 7d6d41d6e2e2bbb3fd02b48aed286d8765d944ce Mon Sep 17 00:00:00 2001 From: Noa Virellia Date: Tue, 27 Jan 2026 16:30:08 +0800 Subject: [PATCH] fix(layout): shorten default site title Signed-off-by: Noa Virellia --- src/layouts/Layout.astro | 10 +++++----- src/pages/index.astro | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 63c1d7d..398d63c 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -7,14 +7,14 @@ interface Props { } const { - title = "Ignis Network - Cat-Inspired Meditation & Mindfulness", - description = "Redefining the digital frontier with next-generation internet services and advanced AI.", - canonicalPath = "", + title = 'Ignis Network', + description = 'Redefining the digital frontier with next-generation internet services and advanced AI.', + canonicalPath = '', noindex = false, } = Astro.props; -const siteUrl = Astro.site?.href || ""; -const canonicalUrl = `${siteUrl.replace(/\/$/, "")}${canonicalPath}`; +const siteUrl = Astro.site?.href || ''; +const canonicalUrl = `${siteUrl.replace(/\/$/, '')}${canonicalPath}`; --- diff --git a/src/pages/index.astro b/src/pages/index.astro index 53f7a84..b8844bd 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,10 +1,10 @@ --- -import Layout from "../layouts/Layout.astro"; -import HomePage from "../components/HomePage"; +import Layout from '../layouts/Layout.astro'; +import HomePage from '../components/HomePage'; ---