hexo-disable-pages

0.0.5 • Public • Published

Hexo Disable Pages

Function/功能

  • 会自动在 hexo g 生成后的public目录中再删除一些目录,用来屏蔽外界访问,如不想要 public/tags目录,则填入["tags"]

  • This script will delete some directories and pages that are unaccessible to public after generating your website via hexo generate.

# example:
# put this into your _config.yaml in the root of your project

disable_pages_cfg:
  dirs: ["archives", 'posts/Page_*', 'posts/Pub_*']

Readme

Keywords

Package Sidebar

Install

npm i hexo-disable-pages

Weekly Downloads

1

Version

0.0.5

License

MIT

Unpacked Size

36.8 kB

Total Files

5

Last publish

Collaborators

  • huiserwang