namesny-com/gatsby-config.js

77 lines
1.8 KiB
JavaScript
Raw Normal View History

2020-09-16 18:40:52 +00:00
module.exports = {
siteMetadata: {
2020-09-17 20:02:28 +00:00
author: `Matúš Námešný`,
2020-11-08 14:41:15 +00:00
user: "hello",
2020-10-02 13:30:55 +00:00
hostname: "namesny.com",
2020-09-17 20:02:28 +00:00
email: "matus@namesny.com",
2020-09-20 19:40:02 +00:00
social: [
{
name: "github",
link: "https://github.com/LordMathis",
},
{
name: "codepen",
link: "https://codepen.io/LordMathis/",
},
{
name: "linkedin",
link: "https://www.linkedin.com/in/mat%C3%BA%C5%A1-n%C3%A1me%C5%A1n%C3%BD-3903b6128/",
}
],
2020-09-16 18:40:52 +00:00
},
plugins: [
2020-10-05 16:36:54 +00:00
{
resolve: `gatsby-source-filesystem`,
options: {
2020-10-06 18:51:49 +00:00
name: `pages`,
2020-10-05 16:36:54 +00:00
path: `${__dirname}/content/pages`,
},
},
{
resolve: `gatsby-transformer-remark`,
options: {
2020-11-08 14:41:15 +00:00
filter: node => node.sourceInstanceName === `pages`,
2020-10-05 16:36:54 +00:00
type: `MarkdownPage`
}
},
2020-09-20 19:40:02 +00:00
{
resolve: `gatsby-source-filesystem`,
options: {
name: `posts`,
path: `${__dirname}/content/posts/`,
},
},
{
resolve: `gatsby-transformer-remark`,
options: {
2020-11-08 14:41:15 +00:00
filter: node => node.sourceInstanceName === `posts`,
2020-10-05 16:36:54 +00:00
excerpt_separator: `<!-- end -->`,
type: `BlogPost`
2020-09-20 19:40:02 +00:00
}
},
2020-09-16 18:40:52 +00:00
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
2020-10-05 16:36:54 +00:00
`gatsby-plugin-react-helmet`,
2020-09-16 18:40:52 +00:00
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `gatsby-starter-default`,
short_name: `starter`,
start_url: `/`,
background_color: `#663399`,
theme_color: `#663399`,
display: `minimal-ui`,
icon: `src/images/gatsby-icon.png`, // This path is relative to the root of the site.
},
},
`gatsby-plugin-sass`,
],
}