-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.ts
77 lines (73 loc) · 1.91 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
import type { GatsbyConfig } from 'gatsby'
const siteTitle = `Festival`;
const siteUrl = `https://festival.kss-pc.club`;
const siteDescription = `Web pages for school festivals`;
const backgroundColor = `#09090f`;
const themeColor = `#15171a`;
const siteFavicon = `content/assets/favicon.png`;
const siteDefaultOgpImage = `/images/ogp_default.png`;
const siteMetadata = {
title: siteTitle,
titleTemplate: `%s | ${siteTitle}`,
siteTitleAlt: `Web pages for school festivals`,
siteHeadline: `Web pages for school festivals`,
siteUrl: siteUrl,
description: siteDescription,
siteLanguage: `ja`,
siteDefaultOgpImage,
author: `Koga Secondary School - PC Club`,
basePath: `/`,
social: {
github: `kss-pc-club`,
},
};
const config: GatsbyConfig = {
siteMetadata,
plugins: [
`gatsby-plugin-emotion`,
`gatsby-plugin-typescript`,
`gatsby-plugin-react-helmet`,
`gatsby-plugin-sass`,
`gatsby-plugin-image`,
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
`gatsby-plugin-lodash`,
`gatsby-plugin-fontawesome-css`,
`gatsby-plugin-catch-links`,
`gatsby-plugin-root-import`,
/*
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `src/images`,
},
},
*/
`gatsby-plugin-advanced-sitemap`,
{
resolve: `gatsby-plugin-robots-txt`,
options: {
host: siteUrl,
sitemap: `${siteUrl}/sitemap.xml`,
policy: [{ userAgent: `*`, allow: `/` }],
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: siteTitle,
short_name: siteTitle,
description: siteDescription,
Scope: `/`,
start_url: `/?utm_source=homescreen`,
background_color: backgroundColor,
theme_color: themeColor,
display: `minimal-ui`,
icon: siteFavicon,
},
},
// `gatsby-plugin-offline`,
],
}
export default config