-
|
https://github.com/imfing/hextra/blob/main/exampleSite/content/_index.zh-cn.md # 就用的这个,并没有上传到自己github空间
hugo mod init github.com/username/my-site
# 添加 Hextra 主题
hugo mod get github.com/imfing/hextrahttps://github.com/imfing/hextra/tree/main/exampleSite覆盖了网站根目录 我已经向人工智能请教了,它给不出我想要的答案,所以,来请教一下大神,到底是怎么回事? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
|
原来是这个原因:https://github.com/imfing/hextra/blob/main/assets/css/compiled/main.css与发行版本中的hextra-0.9.7版本的main.css不一样。 似乎还是Git子模块安装模式更好一点 |
Beta Was this translation helpful? Give feedback.
-
|
通过使用starter template仓库做模板,hugo mod 方式更新到最新版本 0.10 搭建,主页格式依然有上述问题。请教应该怎么解决呢? |
Beta Was this translation helpful? Give feedback.

原来是这个原因:https://github.com/imfing/hextra/blob/main/assets/css/compiled/main.css与发行版本中的hextra-0.9.7版本的main.css不一样。
看来是发行版本https://github.com/imfing/hextra/releases,太过去时了!哈哈!
似乎还是Git子模块安装模式更好一点