-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.ts
119 lines (116 loc) · 4 KB
/
gatsby-config.ts
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
import type { GatsbyConfig } from "gatsby";
const baseUrl = "https://cieloazul310.github.io";
const pathPrefix = "/rockman";
const contentDir = `./data`;
const config: GatsbyConfig = {
siteMetadata: {
title: `ロック大陸漫遊記プレイリスト集`,
description:
"ロック大陸漫遊記プレイリスト集は、TOKYO-FM他全国38局で放送されているラジオ番組「SPITZ 草野マサムネのロック大陸漫遊記」でオンエアされた楽曲を、放送回別、アーティスト別、選曲者別、コーナー別に表示したサイトです。原則毎週日曜日 TOKYO-FM の本放送終了後に更新します。作者がリアルタイムで聞けなかった日は、一両日中に視聴して更新します。",
lang: "ja",
siteUrl: "https://cieloazul310.github.io/rockman",
baseUrl,
author: "cieloazul310",
keywords: [
"スピッツ",
"草野マサムネ",
"ロック大陸漫遊記",
"プレイリスト",
"ラジオ",
],
menu: [
{ name: "トップページ", path: "/" },
{ name: "放送回一覧", path: "/programs/" },
{ name: "アーティスト", path: "/artists/" },
{ name: "テーマ", path: "/categories/" },
{ name: "選曲者", path: "/selectors/" },
{ name: "漫遊前の一曲", path: "/takeoff/" },
{ name: "ちょっぴりタイムマシン", path: "/timemachine/" },
{ name: "サイトについて", path: "/about/" },
],
social: [
{ name: "twitter", url: "https://twitter.com/cieloazul310" },
{ name: "github", url: "https://github.com/cieloazul310/rockman" },
],
},
pathPrefix,
plugins: [
{
resolve: `@cieloazul310/gatsby-theme-aoi`,
options: {
siteId: `rockman`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `yaml`,
path: `${contentDir}/yaml`,
},
},
{
resolve: `gatsby-transformer-yaml`,
options: {
typeName: `Program`,
},
},
{
resolve: `gatsby-plugin-google-gtag`,
options: {
// You can add multiple tracking ids and a pageview event will be fired for all of them.
trackingIds: [
"G-VE0MVTCH7K",
// 'UA-74683419-3', // Google Analytics / GA
// 'AW-CONVERSION_ID', // Google Ads / Adwords / AW
// 'DC-FLOODIGHT_ID', // Marketing Platform advertising products (Display & Video 360, Search Ads 360, and Campaign Manager)
],
// This object gets passed directly to the gtag config command
// This config will be shared across all trackingIds
gtagConfig: {
// optimize_id: 'OPT_CONTAINER_ID',
// anonymize_ip: true,
// cookie_expires: 0,
},
// This object is used for configuration specific to this plugin
pluginConfig: {
// Puts tracking script in the head instead of the body
head: true,
// Setting this parameter is also optional
// respectDNT: true,
// Avoids sending pageview hits from custom paths
// exclude: ['/preview/**', '/do-not-track/me/too/'],
// Defaults to https://www.googletagmanager.com
// origin: 'YOUR_SELF_HOSTED_ORIGIN',
// Delays processing pageview events on route update (in milliseconds)
// delayOnRouteUpdate: 0,
},
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `ロック大陸漫遊記プレイリスト集`,
short_name: `ロク漫プレイリスト`,
start_url: `/`,
background_color: `#fafafa`,
theme_color: `#009688`,
display: `standalone`,
icon: `src/assets/icon.png`,
},
},
{
resolve: `gatsby-plugin-canonical-urls`,
options: {
siteUrl: baseUrl,
},
},
{
resolve: `gatsby-plugin-eslint`,
options: {
failOnError: false,
},
},
`gatsby-plugin-sitemap`,
],
};
export default config;