hexo查找失效的post-link

hexo d -g,然后新的网站就会生成在.deploy_git下面,进去这个目录,在这里面用grep之类的查找Post Not Fount,就能发现失效的post_link了。

例如我的:

grep -rn "Post not found"
page/2/index.html:5657:Post not found: Linux/Debian-11-安装SPDK
tags/RocksDB/index.html:5612:Post not found: Linux/Debian-11-安装SPDK
archives/page/2/index.html:5657:Post not found: Linux/Debian-11-安装SPDK
archives/2022/01/index.html:5657:Post not found: Linux/Debian-11-安装SPDK
archives/2022/page/2/index.html:5657:Post not found: Linux/Debian-11-安装SPDK
2022/01/23/spandb运行ycsb测试/index.html:5640:<a href="#">Post not found: Linux/Debian-11-安装SPDK</a>
posted @ 2024-09-28 14:14  寻找繁星  阅读(1)  评论(0编辑  收藏  举报