@huiserwang/hexo-disable-pages

0.0.1 • 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 @huiserwang/hexo-disable-pages

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

36.9 kB

Total Files

5

Last publish

Collaborators

  • huiserwang