forked from raffazizzi/gatsby-ceteicean-workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
55 lines (54 loc) · 1.44 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
// const {applyxslt} = require('./scripts/applyxslt')
module.exports = {
pathPrefix: "/version-t",
siteMetadata: {
title: ` La Vie de sainte Marie l’Égyptienne`,
menuLinks: [
{
name: "Home",
link: "/"
},
{
name: "About",
link: "/about"
}
]
},
plugins: [
// `gatsby-theme-ceteicean`, // USE THIS FOR SIMPLE USE CASES (TEI ONLY).
// Use with additional namespaces:
{
resolve: `gatsby-theme-ceteicean`,
options: {
namespaces: {
"http://www.tei-c.org/ns/1.0": "tei",
"http://www.tei-c.org/ns/Examples": "teieg",
"http://www.w3.org/2001/XInclude": "xi",
"http://docbook.org/ns/docbook": "db",
"http://www.w3.org/1999/xlink": "xlink",
}
}
},
// ADVANCED USE EXAMPLE BELOW:
// {
// resolve: `gatsby-theme-ceteicean`,
// options: {
// applyBefore: [(obj) => applyxslt(obj, "notenumbers.sef.json")],
// applyAfter: [],
// namespaces: {
// "http://www.tei-c.org/ns/1.0": "tei",
// "http://www.tei-c.org/ns/Examples": "teieg",
// "http://www.w3.org/2001/XInclude": "xi",
// "http://docbook.org/ns/docbook": "db",
// "http://www.w3.org/1999/xlink": "xlink",
// }
// }
// },
{
resolve: `gatsby-source-filesystem`,
options: {
path: `static/tei`,
},
},
],
}