dwysokinski.me/gatsby-config.js

78 lines
2.0 KiB
JavaScript
Raw Permalink Normal View History

2021-11-11 07:36:12 +00:00
const DOMAIN = 'dwysokinski.me';
2021-11-09 07:56:58 +00:00
const SITE_URL = 'https://' + DOMAIN;
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 | Backend Developer | Frontend Developer | Go Developer | React Developer | Node.js Developer`,
2021-01-17 08:31:50 +00:00
authorFullName: 'Dawid Wysokiński',
2021-11-09 07:56:58 +00:00
siteUrl: SITE_URL,
email: 'contact@dwysokinski.me',
github: 'https://github.com/Kichiyaki',
2021-11-09 07:56:58 +00:00
domain: DOMAIN,
2020-07-13 09:45:24 +00:00
},
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: {
2021-11-09 07:56:58 +00:00
name: DOMAIN,
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: {
fonts: {
google: [
{
family: `Montserrat`,
variants: [`300`],
},
],
},
},
2020-08-02 09:36:43 +00:00
},
},
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: {
2021-11-09 07:56:58 +00:00
host: SITE_URL,
sitemap: SITE_URL + '/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
},
},
},
},
2023-05-18 04:55:09 +00:00
{
resolve: `@kichiyaki/gatsby-plugin-plausible`,
options: {
domain: DOMAIN,
customDomain: process.env.PLAUSIBLE_CUSTOM_DOMAIN,
scriptUri: process.env.PLAUSIBLE_SCRIPT_URI
},
},
2020-07-13 09:45:24 +00:00
],
2021-01-17 08:31:50 +00:00
};