<feed xmlns='http://www.w3.org/2005/Atom'>
<title>yasutakeyohei.com/scripts/migrate-to-question-summary.mjs, branch main</title>
<subtitle>公式ウェブサイトのソースコード（Astro + Starlight）</subtitle>
<id>https://cgit.yasutakeyohei.com/yasutakeyohei.com.git/atom/scripts/migrate-to-question-summary.mjs?h=main</id>
<link rel='self' href='https://cgit.yasutakeyohei.com/yasutakeyohei.com.git/atom/scripts/migrate-to-question-summary.mjs?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit.yasutakeyohei.com/yasutakeyohei.com.git/'/>
<updated>2026-06-21T10:35:30Z</updated>
<entry>
<title>一般質問ページに FAQPage 構造化データを追加</title>
<updated>2026-06-21T10:35:30Z</updated>
<author>
<name>Yasutake Yohei</name>
<email>61961825+yasutakeyohei@users.noreply.github.com</email>
</author>
<published>2026-06-21T10:35:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit.yasutakeyohei.com/yasutakeyohei.com.git/commit/?id=6327783554018e69a6d8abd36f6ea538df6ee9f3'/>
<id>urn:sha1:6327783554018e69a6d8abd36f6ea538df6ee9f3</id>
<content type='text'>
QuestionSummary コンポーネントを導入し、63ページの一般質問に
Schema.org FAQPage JSON-LD を追加。表と構造化データを単一の
データ源から生成するため、表の更新と JSON-LD の同期が自動化される。

- src/components/QuestionSummary.astro: 新規。表と JSON-LD を生成
- src/components/StructuredQA.astro: 削除（QuestionSummary に置換）
- scripts/migrate-to-question-summary.mjs: 旧 Markdown 表の変換用
- src/content/docs/ippan-situmon/**/*.mdx: 63ファイル移行済み

新規ページ作成時は QuestionSummary コンポーネントを使用する。
Markdown 表を直接書くことは禁止（コンポーネントにルールを明記）。
</content>
</entry>
</feed>
