Skip to content

Page Settings

Kemal Erdem edited this page Aug 2, 2021 · 2 revisions

Page settings are stored in ./config.js file.

Each change to that file is going to force page rebuild and apply changes to the website. Keys should be self-explanatory. There is a list of "protected" keys that should not be changed:

  • rss
  • googleAnalyticsId
  • siteUrl
  • image (unless you provide a correct path)

Subpages

Except that each page has its own group:

  • blogPage.* - settings for Blog
  • productsPage.* - settings for Products
  • contactPage.* - settings for Contact
  • home.* - settings for index page

Team Member

To edit Team Members just add another object into team.* list. Object structure:

{
      name: 'First and last name',
      title: 'Any title',
      image: '/team/your_profile_picture.jpg',
      email: '',
      facebook: '',
      github: '',
      instagram: '',
      linkedin: '',
      medium: '',
      snapchat: '',
      skype: '',
      twitch: '',
      twitter: '',
      whatsapp: '',
      www: '',
      youtube: '',
}

Only the first 3 properties are mandatory.

!!WARNING Profile picture defined in image property has to be copied into ./static/team/* directory.

Clone this wiki locally