dwysokinski.me/gatsby-config.js

61 lines
1.6 KiB
JavaScript
Raw Normal View History

2021-01-17 08:31:50 +00:00
const siteUrl = 'https://dwysokinski.me';
2020-07-13 09:45:24 +00:00
module.exports = {
siteMetadata: {
title: `Dawid Wysokiński | Full Stack Web Developer`,
description: `Dawid Wysokiński - Full Stack Web Developer | Back End Developer | Front End Developer`,
authorTwitter: `@Dawid56143781`,
2021-01-17 08:31:50 +00:00
authorFullName: 'Dawid Wysokiński',
2020-07-13 09:45:24 +00:00
siteUrl,
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `dwysokinski.me`,
2020-07-13 09:45:24 +00:00
short_name: `dw`,
start_url: `/`,
background_color: `#303030`,
theme_color: `#303030`,
2020-07-13 09:45:24 +00:00
display: `minimal-ui`,
icon: `src/images/logo.svg`, // This path is relative to the root of the site.
},
},
2020-08-02 09:36:43 +00:00
{
resolve: `gatsby-theme-material-ui`,
options: {
webFontsConfig: null,
},
},
2020-07-13 09:45:24 +00:00
`gatsby-plugin-sitemap`,
{
2021-01-17 08:31:50 +00:00
resolve: 'gatsby-plugin-robots-txt',
2020-07-13 09:45:24 +00:00
options: {
host: siteUrl,
2021-01-17 08:31:50 +00:00
sitemap: siteUrl + '/sitemap.xml',
2020-07-13 09:45:24 +00:00
env: {
development: {
2021-01-17 08:31:50 +00:00
policy: [{ userAgent: '*', disallow: ['/'] }],
2020-07-13 09:45:24 +00:00
},
production: {
2021-01-17 08:31:50 +00:00
policy: [{ userAgent: '*', allow: '/' }],
2020-07-13 09:45:24 +00:00
},
},
},
},
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
// `gatsby-plugin-offline`,
],
2021-01-17 08:31:50 +00:00
};