2017-05-13 2 views
1

私はHugo FrameworkとAfter-Darkテーマ(https://themes.gohugo.io/after-dark/)を使って静的なWebページを作成しました。私は私のリポジトリ(https://github.com/Lord-Left/Lord-Left.github.io)に自分のサイトをアップロードしたが、私はサイトを構築しようとすると、私は次のエラーを取得する:私のHugoサイトをgithubページに入れる際に.gitmodulesに問題がある

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/ .

は、これは(ルートにあります)私のサブモジュールファイルへのリンクです。私はそれを修正して作成した、それは正しい?あなた.gitmodules

https://github.com/Lord-Left/Lord-Left.github.io/blob/master/.gitmodules

答えて

3

、あなたは私のために、次の作品ながら

[submodule "after-dark"] 
path = after-dark 
url = https://github.com/comfusion/after-dark 

を言う:あなただけに正しく指すことになりthemes/一部が欠落しているよう

[submodule "themes/beautifulhugo"] 
path = themes/beautifulhugo 
url = https://github.com/halogenica/beautifulhugo 

が見えますサブフォルダ。

関連する問題