You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
我用hugo部署了个静态站点,对于页面来说访问正常,但是目录就不行,不知道为什么。我用github pages是可以的。
下面是主题地址:https://github.com/imfing/hextra
这是我的站点,后面是带slash的:https://blog.wangyx.com/sites/program/
在部署时用的baseURL也是 https://blog.wangyx.com/sites/program/
访问这个没问题:https://blog.wangyx.com/sites/program/docs/index.html
但是想要访问https://blog.wangyx.com/sites/program/docs 或者https://blog.wangyx.com/sites/program/docs/ 就不行了,就比如点击主页上的Docs
对了我也安装了应用商店的trailing slash插件,但是安不安装我试了都不行
在hugo的配置里我也试了加或不加下面的配置也不好使:
trailingSlash: false
uglyURLs: true
Beta Was this translation helpful? Give feedback.
All reactions