-
我的hugo版本:
|
Beta Was this translation helpful? Give feedback.
Answered by
elkan1788
Jul 4, 2022
Replies: 2 comments 4 replies
-
看上去是文章的参数缺失,麻烦详细说下你的操作步骤,或者是参考首页的说明来执行,如下: $ hugo new site hugo-next-exmaple
$ cd hugo-next-exmaple
$ git init
$ git submodule add https://github.com/hugo-next/hugo-theme-next.git themes/hugo-theme-next
$ cp -r themes/hugo-theme-next/exampleSite/* .
$ rm -rf config.toml
$ hugo server |
Beta Was this translation helpful? Give feedback.
4 replies
-
这个问题应该算是 bug,不过现象也是很奇怪,一个判断分类的长度的写法在 v0.99.0版本之前都有问题,后面重新换个判断的写法就能正常运行,所以建议还是尽量使用最新版本的 Hugo 比较好。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
elkan1788
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这个问题应该算是 bug,不过现象也是很奇怪,一个判断分类的长度的写法在 v0.99.0版本之前都有问题,后面重新换个判断的写法就能正常运行,所以建议还是尽量使用最新版本的 Hugo 比较好。