2
0

fix(layout): shorten default site title

Signed-off-by: Noa Virellia <noa@requiem.garden>
This commit is contained in:
2026-01-27 16:30:08 +08:00
parent f29109adc2
commit 7d6d41d6e2
2 changed files with 8 additions and 8 deletions

View File

@@ -7,14 +7,14 @@ interface Props {
} }
const { const {
title = "Ignis Network - Cat-Inspired Meditation & Mindfulness", title = 'Ignis Network',
description = "Redefining the digital frontier with next-generation internet services and advanced AI.", description = 'Redefining the digital frontier with next-generation internet services and advanced AI.',
canonicalPath = "", canonicalPath = '',
noindex = false, noindex = false,
} = Astro.props; } = Astro.props;
const siteUrl = Astro.site?.href || ""; const siteUrl = Astro.site?.href || '';
const canonicalUrl = `${siteUrl.replace(/\/$/, "")}${canonicalPath}`; const canonicalUrl = `${siteUrl.replace(/\/$/, '')}${canonicalPath}`;
--- ---
<!doctype html> <!doctype html>

View File

@@ -1,10 +1,10 @@
--- ---
import Layout from "../layouts/Layout.astro"; import Layout from '../layouts/Layout.astro';
import HomePage from "../components/HomePage"; import HomePage from '../components/HomePage';
--- ---
<Layout <Layout
title="Ignis Network - Cat-Inspired Meditation & Mindfulness" title="Ignis Network"
description="Redefining the digital frontier with next-generation internet services and advanced AI." description="Redefining the digital frontier with next-generation internet services and advanced AI."
canonicalPath="/" canonicalPath="/"
> >