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