zpfz / vuepress-plugin-graysite

Plug-ins that gray your site for VuePress.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vuepress-plugin-graysite

Plug-ins that gray your site for VuePress.

Version NPM

Install

yarn add -D vuepress-plugin-graysite
# OR npm install -D vuepress-plugin-graysite

Use

module.exports = {
  plugins: ['graysite']
}

Config

module.exports = {
  plugins: [
    ['graysite',{
      startDate: '2020-04-03 00:00:00',
      endDate: '2020-04-04 23:59:59'
    }]
  ]
}

Option(required)

startDate

  • Type: date
  • Default: null
    Set start date for mourning day.

endDate

  • Type: date
  • Default: null
    Set end date for mourning day.

About

Plug-ins that gray your site for VuePress.

License:MIT License


Languages

Language:JavaScript 100.0%