hexo配置隐藏文章
![](https://qn.ctext.top/blog-img/article/2024/05/hidn.png)
hexo配置隐藏文章
伴随安装
- 在博客根目录执行
1 | npm install hexo-hide-posts --save |
配置
- 将如下配置加入_config.yml 或者主题的配置 文件中
1 | # hexo-hide-posts |
- 配置成功之后在文章的头部加入如下配置即可实现隐藏
1 | hidden: true |
注意这里配置隐藏只是不在博客页面中显示,但是如果知道链接地址的话还是可以打开这篇文章的
评论
匿名评论隐私政策
1 | npm install hexo-hide-posts --save |
1 | # hexo-hide-posts |
1 | hidden: true |
注意这里配置隐藏只是不在博客页面中显示,但是如果知道链接地址的话还是可以打开这篇文章的