Skip to content

Commit 2e24c4e

Browse files
committed
「プログラミング」というキーワードで検索に引っかかるようにしたい
1 parent 7d0133d commit 2e24c4e

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

src/components/CommonHead.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ import config from "../../gatsby-config";
66
export default function CommonHead({
77
title,
88
description,
9+
keywords,
910
image,
1011
linkedData,
1112
}: {
1213
title: string | null;
1314
description?: string;
15+
keywords?: string[];
1416
image?: string;
1517
linkedData?: WithContext<Thing>;
1618
}) {
@@ -45,6 +47,16 @@ export default function CommonHead({
4547
<meta property="og:locale" content="ja_JP" />
4648
<meta name="twitter:card" content="summary_large_image" />
4749
<meta name="twitter:site" content="@utokyo_code" />
50+
<meta
51+
name="keywords"
52+
content={[
53+
...(keywords ?? []),
54+
"ソフトウェアエンジニアリング",
55+
"プログラミング",
56+
"東京大学",
57+
"サークル",
58+
].join(",")}
59+
/>
4860
{linkedData && (
4961
<script type="application/ld+json">{JSON.stringify(linkedData)}</script>
5062
)}

src/pages/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ export default function IndexPage({ data }: PageProps<Queries.IndexPageQuery>) {
6161
<div className="prose mt-3">
6262
<p>
6363
ut.code(); は、2019
64-
年設立の東京大学のソフトウェアエンジニアリングコミュニティです。
64+
年発足の東京大学のソフトウェアエンジニアリングコミュニティ・プログラミングサークルです。
65+
プログラミングの学習から、実社会で役立つソフトウェア製作まで、幅広い活動を行っています。
6566
</p>
6667
</div>
6768
<ActionButton to="/join/" className="mt-4">

0 commit comments

Comments
 (0)