feat: set up basic blog structure
This commit is contained in:
parent
f4f421ac43
commit
8599464f2d
7 changed files with 1740 additions and 88 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue