feat: set up basic blog structure

This commit is contained in:
Felix Schröter 2022-08-01 21:12:47 +02:00
parent f4f421ac43
commit 8599464f2d
Signed by: felschr
GPG key ID: 671E39E6744C807D
7 changed files with 1740 additions and 88 deletions

View file

@ -6,26 +6,56 @@ const config: GatsbyConfig = {
siteUrl: `https://felschr.com`
},
graphqlTypegen: true,
plugins: ["gatsby-plugin-emotion", "gatsby-plugin-image", "gatsby-plugin-sitemap", {
resolve: 'gatsby-plugin-manifest',
options: {
"icon": "src/images/icon.png"
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: "none"
}
},
],
},
},
"gatsby-plugin-mdx-frontmatter",
"gatsby-plugin-sharp",
"gatsby-transformer-sharp",
{
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/",
},
}
}, "gatsby-plugin-mdx", "gatsby-plugin-sharp", "gatsby-transformer-sharp", {
resolve: 'gatsby-source-filesystem',
options: {
"name": "images",
"path": "./src/images/"
},
__key: "images"
}, {
resolve: 'gatsby-source-filesystem',
options: {
"name": "pages",
"path": "./src/pages/"
},
__key: "pages"
}]
]
};
export default config;