-
Notifications
You must be signed in to change notification settings - Fork 25
/
gatsby-config.js
51 lines (49 loc) · 1.41 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
require("dotenv").config()
const { loadConfig } = require("./src/common")
const config = loadConfig("./config.yaml", "./config.default.yaml")
module.exports = {
siteMetadata: {
title: `${config.title}`,
description: `Static site generator for Simple Knowledge Management Systems (SKOS)`,
author: `Hochschulbibliothekszentrum des Landes Nordrhein-Westfalen (hbz)`,
tokenizer: config.tokenizer,
colors: config.colors,
logo: config.logo,
fonts: config.fonts,
searchableAttributes: config.searchableAttributes,
customDomain: config.customDomain,
failOnValidation: config.failOnValidation,
},
pathPrefix: `${process.env.BASEURL || ""}`,
plugins: [
`gatsby-plugin-emotion`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: "data",
path: `${__dirname}/data`,
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Skohub Vocabs`,
short_name: `Skohub Vocabs`,
start_url: `/`,
background_color: `#ffffff`,
theme_color: `#26c884`,
display: `minimal-ui`,
icon: `src/images/skohub-icon.png`, // This path is relative to the root of the site.
},
},
],
}