Skip to content

哀悼日专用 Hexo 插件,开启后全站灰色 / Grey your hexo site on the day of mourning

License

Notifications You must be signed in to change notification settings

fluid-dev/hexo-filter-mourning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

241f84c · Jan 26, 2024

History

14 Commits
Jan 25, 2024
Apr 3, 2020
Apr 3, 2020
Apr 3, 2020
Jan 26, 2024
Apr 4, 2020
Jan 26, 2024

Repository files navigation

hexo-filter-mourning

Grey your hexo site on the day of mourning

哀悼日专用 Hexo 插件,开启后全站灰色

Installation

$ npm i hexo-filter-mourning --save

Config

In your site's _config.yml:

mourning:
  # It's recommended to disable it when not in use
  enable: true
  # Specify the date(s) to be greyed out. You can set dates in the format yyyy-MM-dd or MM-dd
  day:
    - 04-04
    - 05-12
    - 12-13

Screenshot

Screenshot