forked from lad-sapienza/lad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
85 lines (84 loc) · 2 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
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
module.exports = {
pathPrefix: '/',
siteMetadata: {
title: `LAD`,
description: `Laboratorio di Archeologia Digitale alla Sapienza`,
author: `Julian Bogdani`,
siteUrl: `https://lad.saras.uniroma1.it/`,
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-plugin-styled-components`,
`gatsby-plugin-image`,
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sass`,
`gatsby-plugin-sitemap`,
'gatsby-plugin-robots-txt',
{
resolve: `gatsby-plugin-next-seo`,
options: {
openGraph: {
type: 'website',
locale: 'it_IT',
url: 'https://lad.saras.uniroma1.it/',
site_name: 'LAD: Laboratorio di Archeologia Digitale alla Sapienza',
},
twitter: {
handle: '@JulianBogdani',
site: '@JulianBogdani',
cardType: 'summary_large_image',
},
}
},
{
resolve: "gatsby-transformer-remark",
options: {
gfm: true,
footnotes: true,
plugins: [
"gatsby-remark-autolink-headers",
{
resolve: `gatsby-remark-highlight-code`,
options: {
terminal: "carbon",
theme: "one-dark",
lineNumbers: true
}
}
]
},
},
{
resolve: "gatsby-source-filesystem",
options: {
name: "images",
path: `${__dirname}/static/images`,
},
},
{
resolve: `gatsby-plugin-google-fonts`,
options: {
fonts: [
`Cormorant Garamond`,
`d:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700`,
],
display: "swap",
},
},
{
resolve: "gatsby-source-filesystem",
options: {
name: "markdown",
path: `${__dirname}/posts/`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `pages`,
path: `${__dirname}/src/pages/`,
},
},
],
};