y1zhou / hugo-northeast

A Hugo theme using Tailwind CSS.
https://www.y1zhou.com
MIT License
29 stars 5 forks source link

git submodule add https://github.com/y1zhou/hugo-northeast.git themes/hugo-northeast (not working) #24

Open darrenaddy opened 2 years ago

darrenaddy commented 2 years ago

Seeing that you committed a fix, I decided to try again with a new hugo site with the new repo. I have: autoprefixer@10.4.4 npm@8.7.0 postcss-cli@9.1.0 postcss@8.4.12 all installed globally. I did the git init from the new hugo site folder.

But trying the next step: git submodule add https://github.com/y1zhou/hugo-northeast.git themes/hugo-northeast creates the themes/hugo-northeast folder but the only thing inside it is the .git file. It hangs at that step.

???

y1zhou commented 2 years ago

@darrenaddy I just tested setting up a new site using the commands listed in the readme file and had no problems. Could you check the content of the .gitmodules file in your newly-created hugo site folder? It should be:

[submodule "themes/hugo-northeast"]
    path = themes/hugo-northeast
    url = https://github.com/y1zhou/hugo-northeast.git

If the content looks correct, try running this command in the hugo site folder:

git submodule update --init --recursive --remote --merge