Skip to content

Customize Theme Options

Arpit Sheth edited this page Jul 30, 2020 · 1 revision

Polaroid supports most of the theme options provided by @lekoarts/gatsby-theme-minimal-blog-core, however there are some differences.

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. (Using pages is entirely optional)
mdx true Configure gatsby-plugin-mdx (if your website already is using the plugin pass false to turn this off)
formatString DD-MMM-YYYY Configure the date format for Date fields

🚨 Note: externalLinks and navigation theme options are unsupported

Polaroid ignores these theme options. See the customization options below for modifying the header links.

Clone this wiki locally