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>

浙公网安备 33010602011771号