Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs README: replace clone with submodule for theme installation #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Zhang-Siyang
Copy link

The official quick start now uses submodule as the method for installing themes.
Ref: https://gohugo.io/getting-started/quick-start/

The official quick start now uses submodule as the method for installing themes.
Ref: https://gohugo.io/getting-started/quick-start/
@Zhang-Siyang
Copy link
Author

关于修改文档的必要性:我个人在用 Netlify,似乎 CI 平台更倾向使用 submodule 来维护 git 依赖关系。

https://docs.netlify.com/frameworks/hugo/#hugo-themes

Netlify can’t use a theme installed by the git clone method. Instead, you should install a Hugo theme for your site as a git submodule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant