gatsby-theme-thepuzzlers-legal-pages
v1.1.1
Published
This theme adds /legal page and /privacy-policy pages to your site
Downloads
61
Readme
Gatsby Theme ThePuzzlers Legal Pages
This theme adds /legal page and /privacy-policy pages to your site
Getting Started
- Install the gatsby theme
yarn add gatsby-theme-thepuzzlers-legal-pages
- Add plugin to your gatsby-config.js file
module.exports = {
plugins: [
{
resolve: 'gatsby-theme-thepuzzlers-legal-pages',
options: {
vimeo: true, // enable the vimeo privacy policy. default is false
publishingMonth: 3 // publishing month, 1 equals January
publishingYear: 2023 // publishing year
}
}
]
};
- Add your src/config/businessInfo.json file to set the business information
[
{
"legal": {
"company": "Rainbow GmbH",
"headOfCompany": "Mrs. Unicorn",
"address": {
"street": "Sunshine Road 9",
"city": "123134 FantasyCity"
},
"tel": "",
"ustid": "",
"email": "[email protected]",
"commercialRegister": {
"court": "",
"number": ""
},
"organicCertification": {
"certification": "",
"controlAgency": ""
}
}
}
]
Theme Options
| Option | Value | Description | Required | | --------------- | ------- | ----------------------------------------------------------------------------------------------------------- | -------- | | configPath | String | Default path is "src/config", determines where the config file (businessInfo.json) is located | No | | vimeo | Boolean | Is Vimeo used in this project? If true, this will add a disclaimer in the privacy policy. By default false. | No | | publishingMonth | Number | Publishing month, 1 equals January. If not provided, it will use current month | No | | publishingYear | Number | Publishing year. If not provided, it will use current year | No |