From bfd1c386ed8f98f9a1c04e3f3e8e5d8ec3dcac4d Mon Sep 17 00:00:00 2001 From: Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> Date: Wed, 14 Oct 2026 23:54:47 +0900 Subject: astro.config.mjs: WebSite構造化データとog:site_nameを追加 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- astro.config.mjs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'astro.config.mjs') diff --git a/astro.config.mjs b/astro.config.mjs index 6938760..3bd33aa 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -413,6 +413,13 @@ export default defineConfig({ content: "https://yasutakeyohei.com/og/index.jpg?v=2", }, }, + { + tag: "meta", + attrs: { + property: "og:site_name", + content: "小平市議 安竹洋平 公式サイト", + }, + }, { tag: "meta", attrs: { @@ -427,6 +434,18 @@ export default defineConfig({ content: "https://yasutakeyohei.com/og/index.jpg?v=2", }, }, + { + tag: "script", + attrs: { type: "application/ld+json" }, + content: JSON.stringify({ + "@context": "https://schema.org", + "@type": "WebSite", + name: "安竹洋平", + alternateName: "小平市議 安竹洋平 公式サイト", + url: "https://yasutakeyohei.com/", + publisher: { "@type": "Person", name: "安竹洋平" }, + }), + }, { tag: "script", attrs: { type: "application/ld+json" }, -- cgit v1.3.1