diff options
| author | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-10-14 23:54:47 +0900 |
|---|---|---|
| committer | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-10-14 23:54:47 +0900 |
| commit | bfd1c386ed8f98f9a1c04e3f3e8e5d8ec3dcac4d (patch) | |
| tree | c87e59f8a36626276d1b3d43c199f39bdb4b30aa /astro.config.mjs | |
| parent | c7afa98cb2f0ecc97e53d6b42e12ddea17d1722b (diff) | |
astro.config.mjs: WebSite構造化データとog:site_nameを追加
Diffstat (limited to 'astro.config.mjs')
| -rw-r--r-- | astro.config.mjs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/astro.config.mjs b/astro.config.mjs index 6938760..3bd33aa 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -416,6 +416,13 @@ export default defineConfig({ { tag: "meta", attrs: { + property: "og:site_name", + content: "小平市議 安竹洋平 公式サイト", + }, + }, + { + tag: "meta", + attrs: { name: "twitter:card", content: "summary_large_image", }, @@ -432,6 +439,18 @@ export default defineConfig({ 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" }, + content: JSON.stringify({ + "@context": "https://schema.org", "@type": "Person", name: "安竹洋平", givenName: "洋平", |
