0.0.1 • Published 7 months ago

@huiserwang/hexo-disable-pages v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

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_*']
0.0.1

7 months ago