How to add submodule into gh-pages branch & build static pages correctly?

后端 未结 3 1483
悲&欢浪女
悲&欢浪女 2021-02-08 00:47

I have several project pages to maintain, and all of them use a same theme (I packaged it into a separate repo which called KYProjectPageTheme).

Just copy t

3条回答
  •  伪装坚强ぢ
    2021-02-08 01:03

    I was generating a static website with Hugo, and had to format my .gitmodules file like so:

    [submodule "themes/code-editor"]
        path = themes/code-editor
        url = https://github.com/aubm/hugo-code-editor-theme.git
    

提交回复
热议问题