0.13.6 • Published 3 years ago

gatsby-theme-thepuzzlers-legal-pages v0.13.6

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

Gatsby Theme ThePuzzlers Legal Pages

This theme adds /legal page and /privacy-policy pages to your site

Getting Started

  1. Install the gatsby theme
  yarn add gatsby-theme-thepuzzlers-legal-pages
  1. 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
      }
    }
  ]
};
  1. 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": "optional@mail.de",
      "commercialRegister": {
        "court": "",
        "number": ""
      },
      "organicCertification": {
        "certification": "",
        "controlAgency": ""
      }
    }
  }
]

Theme Options

OptionValueDescriptionRequired
configPathStringDefault path is "src/config", determines where the config file (businessInfo.json) is locatedNo
vimeoBooleanIs Vimeo used in this project? If true, this will add a disclaimer in the privacy policy. By default false.No
publishingMonthNumberPublishing month, 1 equals January. If not provided, it will use current monthNo
publishingYearNumberPublishing year. If not provided, it will use current yearNo