记一次hugo部署失败经历

今天部署hugo到服务器没问题,但部署到gitee或者github均失败了。看github发来的邮件提示如下:

1
2
3
4
5
6
7
8
9
The page build failed for the `gh-pages` branch with the following error:

The tag `block` on line 923 in `hexo-next-theme-tips/index.md` is not a recognized Liquid tag. For more information, see https://help.github.com/en/github/working-with-github-pages/troubleshooting-jekyll-build-errors-for-github-pages-sites#unknown-tag-error.

For information on troubleshooting Jekyll see:

https://help.github.com/articles/troubleshooting-jekyll-builds

If you have any questions you can submit a request on the Contact GitHub page at https://support.github.com/contact?repo_id=270887999&page_build_id=188471887

貌似是因为一篇文章里的代码不符合规范,最直接简单的做法就是删掉这篇文章,反正我也不想去修改,当然我也不会改……