1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
---
// このページの構造化データ(JSON-LD)。ビルド日を更新日として出力する。
const url = 'https://yasutakeyohei.com/kodaira-data/hp-archive/schedule/';
const updated = new Date();
const iso = updated.toISOString().slice(0, 10);
const label = `${updated.getFullYear()}年${updated.getMonth() + 1}月${updated.getDate()}日`;
const data = {
'@context': 'https://schema.org',
'@type': 'CollectionPage',
name: '小平市のイベント・行事予定(審議会・市議会の日程も掲載)',
description:
'小平市のイベント・行事予定と、審議会・市議会の開催日程を、日程・会場・傍聴の可否つきでまとめた一覧です。カテゴリ別の絞り込みと地図で確認できます。',
url,
inLanguage: 'ja',
dateModified: iso,
about: [
{ '@type': 'Thing', name: '小平市のイベント' },
{ '@type': 'Thing', name: '小平市の審議会・市議会の日程' },
{ '@type': 'Thing', name: '小平市議会の傍聴' },
],
isPartOf: {
'@type': 'WebSite',
name: '小平市議 安竹洋平 公式サイト',
url: 'https://yasutakeyohei.com/',
},
};
---
<script type="application/ld+json" set:html={JSON.stringify(data)} />
<p class="schedule-updated">最終更新:{label}</p>
|