-
Notifications
You must be signed in to change notification settings - Fork 2
/
gatsby-config.js
58 lines (58 loc) · 1.42 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
module.exports = {
siteMetadata: {
// Update these and enjoy :)
title: `TeXBlog`,
description: `A simple, LaTeX enabled starter to properly showcase your beautifully typeset articles. Perfectly complements STEM blogs.`,
author: `Akshat Bisht`,
},
plugins: [
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `gatsby-starter-texblog`,
short_name: `texblog`,
start_url: `/`,
// Color settings can be found in /styles/colors.scss
background_color: `oldlace`,
display: `standalone`,
icon: `src/images/favicon.png`,
},
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
// If using cloud deployment services, add GOOGLE_ANALYTICS_TRACKING_ID to your environment variables.
trackingId: process.env.GOOGLE_ANALYTICS_TRACKING_ID,
head: true,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `posts`,
path: `${__dirname}/content/posts`,
},
},
{
resolve: `gatsby-plugin-mdx`,
options: {
gatsbyRemarkPlugins: [`gatsby-remark-katex`],
remarkPlugins: [require(`remark-math`)],
defaultLayouts: {
posts: require.resolve("./src/components/PostPage/postpage.tsx"),
},
},
},
`gatsby-plugin-react-helmet`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-plugin-sass`,
],
}