@mifeng/gatsby-theme-minimal-blog-core
v1.0.1
Published
Forked from @lekoarts/gatsby-theme-minimal-blog-core
Downloads
2
Maintainers
Readme
Core Theme for @lekoarts/gatsby-theme-minimal-blog
. This theme implements the Post
and Page
node interfaces and exports templates (+ queries) which you can shadow.
Also be sure to checkout other Free & Open Source Gatsby Themes
Installation
npm install @lekoarts/gatsby-theme-minimal-blog-core
Usage
Theme options
| Key | Default Value | Description |
| -------------- | --------------- | --------------------------------------------------------------------------------------------------------- |
| basePath
| /
| Root url for the theme |
| blogPath
| /blog
| url for the blog post overview page |
| tagsPath
| /tags
| url for the tags overview page and prefix for tags (e.g. /tags/my-tag
) |
| postsPath
| content/posts
| Location of posts |
| pagesPath
| content/pages
| Location of additional pages (optional) |
| mdx
| true
| Configure gatsby-plugin-mdx
(if your website already is using the plugin pass false
to turn this off) |
| formatString
| DD.MM.YYYY
| Configure the date format for Date fields |
The usage of content/pages
is optional.
Shadowing
Please read the guide Shadowing in Gatsby Themes to understand how to customize the this theme! You can also have a look at @lekoarts/gatsby-theme-minimal-blog
to see it in action. Generally speaking you will want to place your files into src/@lekoarts/gatsby-theme-minimal-blog-core/
to shadow/override files.
🌟 Supporting me
Thanks for using this project! I'm always interested in seeing what people do with my projects, so don't hesitate to tag me on Twitter and share the project with me.
Please star this project, share it on Social Media or consider supporting me on Patreon or GitHub Sponsor!