Replies: 1 comment
-
|
It might be caused by the date is a future time. To include future posts when building your Hugo site, you need to use the 可能是因为日期设置在未来时间。 在构建 Hugo 网站时,如果需要包含未来的文章,你需要使用 --buildFuture 或 -F 参数。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我大概遇到了一个HUGO的小问题,当然也许是我自���在哪里犯了蠢
是这样的,我想写一个blog,就像正常一样新建了一个文章,写上了:
结果文章列表并不显示这篇文章,即使是
hugo server -D也是不显示,因此我怀疑是09被yaml理解为了八进制数报了错,所以我尝试去加了引号,结果还是不显示我使用
hugo list all来看文件,发现那篇文章已经在列表里,点开对应的链接,文章是可以看到的,只是日期显示的August,还是不大对我想或许是JS的问题吧,所以换用了:
结果就是,我成功了,但是不得不使用这种冗杂的写法,说实话,我不喜欢这样,我不清楚我究竟能不能像从前一样仅用2025-09-07就能描述时间,如果可以,麻烦告诉我一个方法,拜托了
Beta Was this translation helpful? Give feedback.
All reactions