-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
主页显示一个叫做Posts的连接,而不是文章列表 #141
Comments
确实, 我也出现了这个问题, 好像是今天才这样的. 毕竟代码没动过... 是不是某个依赖被改了? |
@laozhu 求助~ 有空帮忙看下, 是不是哪个依赖被修改了? 多谢! |
改好了, 把 hugo 降级到0.57.2 就好了. 等老朱来看看是不是因为 hugo 升级了, 某些东西不兼容估计是. |
多谢,我试试 |
复议,0.58.3主页是posts |
A temporary work-around (on Mac with home brew) until @laozhu manages to fix the issue. Uninstall your current version of hugo and install version
|
同样的问题,不像降级 Hugo,还有其他解决方案吗? |
我是升级了hugo版本后才变成这样的。 |
google很多资料,发送一句话。 找了半天没在网上找到解决方案。最后看了半天的主题源码,对照着调试解决了。方法如下: {{ $paginator := .Paginate (where .Data.Pages "Type" "post") (index .Site.Params "paginate" | default 10) }} 修改成这行: 保存文件后,主页就不会以文件夹的方式显示了。 |
主页显示一个叫做Posts的连接,而不是文章列表
截图:https://i.loli.net/2019/09/25/aEV4ArWpxSHPkIN.png
小白没找到怎么改,求助。。。
The text was updated successfully, but these errors were encountered: