felschr.com/gatsby-config.ts
Felix Schröter df2fd8a520
feat: various improvements
- add Terms of Service
- add dark mode
- use cards for blog with excerpt
2022-11-15 19:15:11 +01:00

66 lines
1.4 KiB
TypeScript

import type { GatsbyConfig } from "gatsby";
const config: GatsbyConfig = {
siteMetadata: {
title: "felschr's dev blog",
headline: "Engineering software with passion",
author: "Felix Schröter",
siteUrl: "https://felschr.com",
},
graphqlTypegen: true,
plugins: [
"gatsby-plugin-emotion",
"gatsby-plugin-image",
"gatsby-plugin-react-helmet",
"gatsby-plugin-sitemap",
{
resolve: "gatsby-plugin-manifest",
options: {
"icon": "src/images/icon.png"
}
},
{
resolve: "gatsby-plugin-mdx",
options: {
extensions: [".mdx", ".md"],
gatsbyRemarkPlugins: [
{
resolve: "gatsby-remark-highlight-code",
options: {
terminal: "carbon",
theme: "one-dark",
lineNumbers: true,
}
},
],
},
},
"gatsby-plugin-mdx-frontmatter",
"gatsby-plugin-sharp",
"gatsby-transformer-sharp",
"gatsby-plugin-mdx-source-name",
{
resolve: "gatsby-source-filesystem",
options: {
name: "images",
path: "./src/images/"
},
},
{
resolve: "gatsby-source-filesystem",
options: {
name: "pages",
path: "./src/pages/"
},
},
{
resolve: "gatsby-source-filesystem",
options: {
name: "posts",
path: "./src/posts/",
},
}
]
};
export default config;