Closed hailiang-wang closed 2 years ago
为什么提这样一个issue? 想干什么?
添加文章
hugo server
执行后有错误:
WARN 2022/03/18 16:11:06 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
ERROR 2022/03/18 16:11:06 render of "section" failed: execute of template failed: template: _default/section.html:12:27: executing "_default/section.html" at <.Render>: error calling Render: "/Users/hain/git/ttoos/content/posts/lfapac-evangelist-sharing/how-to-shape-global-idea-in-os-world.md:2:50": failed to execute template ["li"] v: "/Users/hain/git/ttoos/layouts/_default/li.html:2:50": execute of template failed: template: _default/li.html:2:50: executing "_default/li.html" at <.GetParam>: can't evaluate field GetParam in type *hugolib.pageState
Error: Error building site: failed to render pages: render of "section" failed: execute of template failed: template: _default/section.html:12:27: executing "_default/section.html" at <.Render>: error calling Render: "/Users/hain/git/ttoos/content/Community/welcome-to-anyone-contribute.md:2:50": failed to execute template ["li"] v: "/Users/hain/git/ttoos/layouts/_default/li.html:2:50": execute of template failed: template: _default/li.html:2:50: executing "_default/li.html" at <.GetParam>: can't evaluate field GetParam in type *hugolib.pageState
Built in 1221 ms
(venv-py2)
# hain @ vulcan in ~/git/ttoos on git:master x [16:11:07] C:255
$ hugo server
这样可以提交 PR 吗?这里的文章还是已有的文章。这样可以通过 CI Build 吗?
Original
https://mp.weixin.qq.com/s/ANcQWX-cL0MNmOgCGYHbaQ