aboutsummaryrefslogtreecommitdiffhomepage
path: root/astro.config.mjs
diff options
context:
space:
mode:
authorYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-10-14 23:54:47 +0900
committerYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-10-14 23:54:47 +0900
commitbfd1c386ed8f98f9a1c04e3f3e8e5d8ec3dcac4d (patch)
treec87e59f8a36626276d1b3d43c199f39bdb4b30aa /astro.config.mjs
parentc7afa98cb2f0ecc97e53d6b42e12ddea17d1722b (diff)
astro.config.mjs: WebSite構造化データとog:site_nameを追加
Diffstat (limited to 'astro.config.mjs')
-rw-r--r--astro.config.mjs19
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: "洋平",