From 87e5505074434f04df374de1012b63848316f3ad Mon Sep 17 00:00:00 2001 From: yude Date: Wed, 7 Jan 2026 22:05:10 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=98=E3=83=83=E3=83=80=E3=83=BC=E3=82=92?= =?UTF-8?q?=E3=82=B0=E3=83=AD=E3=83=BC=E3=83=90=E3=83=AB=E9=A0=98=E5=9F=9F?= =?UTF-8?q?=E3=81=AB=E7=A7=BB=E5=8B=95=E3=81=99=E3=82=8B,=20=E3=83=9A?= =?UTF-8?q?=E3=83=BC=E3=82=B8=20=E3=82=BF=E3=82=A4=E3=83=88=E3=83=AB?= =?UTF-8?q?=E3=82=92=20Frontmatter=20=E3=81=8B=E3=82=89=E5=8F=96=E5=BE=97?= =?UTF-8?q?=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/Layout.astro | 7 ++++++- src/pages/index.astro | 5 ----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index b994e7a..85200ac 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -2,6 +2,7 @@ import appleTouchIcon from '../assets/apple-touch-icon-180x180.png'; import icon192 from '../assets/icon-192x192.png'; import "../styles/global.css"; +const { frontmatter } = Astro.props; --- @@ -12,7 +13,7 @@ import "../styles/global.css"; - yude.jp + {frontmatter?.title ? `${frontmatter?.title} - yude.jp` : 'yude.jp'} @@ -26,6 +27,10 @@ import "../styles/global.css"; +
+

© 2014 - 2026 yude <i@yude.jp>

+ +
diff --git a/src/pages/index.astro b/src/pages/index.astro index 6dd8707..6d0e4a7 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -20,11 +20,6 @@ import {Content as IndexContent} from '../content/index.md';
- -
-

© 2025 yude <i@yude.jp>

- -