因此,我设法使用Hugo框架和After-Dark主题(https://themes.gohugo.io/after-dark/)创建了一个静态网页。我上传我的网站我的仓库(https://github.com/Lord-Left/Lord-Left.github.io),但是当我尝试建立的网站,我收到以下错误:使用.gitmodules将我的Hugo站点放到github页面上存在问题
Your site is having problems building: The submodule public was not properly initialized with a .gitmodules file. For more information, see https://help.github.com/articles/page-build-failed-missing-submodule/ .
这是链接到我的子模块文件(位于根目录)。我通过修补它来创建它,它是正确的吗?
https://github.com/Lord-Left/Lord-Left.github.io/blob/master/.gitmodules