-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
59 lines (56 loc) · 1.61 KB
/
gatsby-config.js
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
const slugify = require('slugify')
const siteName = 'On Demand On Campus'
const description =
'Now one of the most popular forms of entertainment, streaming has found ways to entertain and connect students within the UCLA community. Explore how UCLA’s streaming culture informs students’ experiences and represents the future of entertainment.'
const image =
'https://assets.dailybruin.com/images/interactive.prime.2018.bruin-binging2/prime.illo_1.JLS-ae3b8b3037a04298e2b2f623e1a050f6.png'
const year = '2018'
const url = `https://features.dailybruin.com/${year}/${slugify(
siteName.toLowerCase()
)}`
module.exports = {
pathPrefix: `/2018/on-demand-on-campus`,
siteMetadata: {
siteName: 'Daily Bruin PRIME | ' + siteName,
description,
url,
image,
},
plugins: [
{
resolve: 'gatsby-plugin-manifest',
options: {
name: siteName,
short_name: siteName,
start_url: '/',
background_color: '#ffffff',
theme_color: '#ffffff',
display: 'browser',
icon: 'src/images/db-logo.png',
},
},
'gatsby-plugin-typescript',
'gatsby-plugin-react-helmet',
'gatsby-plugin-emotion',
{
resolve: 'gatsby-plugin-typography',
options: {
pathToConfigModule: 'src/utils/typography',
},
},
{
resolve: '@dailybruin/gatsby-source-kerckhoff',
options: {
slug: 'interactive.prime.2018.bruin-binging2',
},
},
{
resolve: 'gatsby-plugin-google-analytics',
options: {
trackingId: 'UA-28181852-23',
head: false,
anonymize: true,
},
},
],
}