-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
102 lines (102 loc) · 3.63 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
module.exports = {
siteMetadata: {
title: `FOSSNSS • Free and Open Source Software cell (FOSS Cell) of NSSCE`,
description: `The FOSSNSSFOSS (FOSS Cell) of NSS College of Engineering,
Palakkad is a collective of students who like to explore and spread the open-source software and its ideology.
Roots of this FOSS Cell dates back to the year 2009. Leading the whole campus to the world of Freedom, Community and Free Software.
Free software, Free Campus, Free Society.`,
author: 'foss@nssce.ac.in',
siteUrl: `https://fossnss.org`,
},
plugins: [
`gatsby-plugin-postcss`,
`gatsby-plugin-sitemap`,
`gatsby-plugin-react-helmet`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-sass`,
options: {
implementation: require('node-sass'),
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `FOSSNSS - F.O.S.S. Cell of NSS College of Engineering`,
short_name: `FOSSNSS`,
start_url: `/`,
background_color: `#f87c56`,
theme_color: `#f87c56`,
display: `standalone`,
icon: `src/images/foss-icon.png`, // This path is relative to the root of the site.
},
},
'gatsby-plugin-catch-links',
{
resolve: 'gatsby-source-filesystem',
options: {
path: `${__dirname}/src/pages`,
name: 'pages',
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/src/content`,
name: `markdown-pages`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
{
resolve: 'gatsby-transformer-remark',
options: {
plugins: [
{
resolve: 'gatsby-remark-images',
options: {
maxWidth: 750,
linkImagesToOriginal: false,
tracedSVG: true,
showCaptions: true,
markdownCaptions: true,
},
},
{
resolve: `gatsby-remark-figure-caption`,
options: { figureClassName: 'md-figure' },
},
],
},
},
{
resolve: `gatsby-plugin-nprogress`,
options: {
// Setting a color is optional.
color: `tomato`,
// Disable the loading spinner.
showSpinner: false,
},
},
{
resolve: 'gatsby-source-mastodon',
options: {
// The api url of your mastodon instance (e.g https://aus.social/api/v1)
api_url: 'https://mas.to/api/v1/',
// Number of toots to return
limit: 25,
// Access token for your Mastodon application
access_token: '3e6e-w7tWw-CRSj8VlgpFGNEmpklksOJ9bbQ5KI_CUU',
},
},
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
// `gatsby-plugin-offline`, Disable during initial devloping
],
};