使用hexo和gitpage搭建的个人博客,在修改了某些数据后,用hexo s访问localhost:4000报错:
ERROR Template render error: (D:\Blog\themes\next\layout\page.swig)
Template render error: (D:\Blog\themes\next\layout\page.swig) [Line 34, Column 18]
Template render error: (D:\Blog\themes\next\layout\page.swig) [Line 20, Column 14]
Template render error: (D:\Blog\themes\next\layout\page.swig)
Template render error: (D:\Blog\themes\next\layout\_partials\head\head-unique.swig) [Line 10, Column 23]
Template render error: (D:\Blog\themes\next\layout\page.swig) [Line 3, Column 3]
以及
Error: Unable to call `link["split"]`, which is undefined or falsey
且localhost:4000无法打开
而后我尝试着hexo g,报错内容相同,hexo d 后
Enumerating objects: 21, done.
Counting objects: 100% (21/21), done.
Delta compression using up to 8 threads
Compressing objects: 100% (6/6), done.
Writing objects: 100% (11/11), 1.80 KiB | 153.00 KiB/s, done.
Total 11 (delta 2), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (2/2), completed with 2 local objects.
To github.com:zero-g-x/zero-g-x.github.io.git
c1acdd2..f4c0365 HEAD -> master
Branch 'master' set up to track remote branch 'master' from 'git@github.com:zero-g-x/zero-g-x.github.io.git'.
INFO Deploy done: git
此是再访问网站便无法打开