
How to install theme
Install The Theme
Using Git Submodules
The recommanded method to install the theme is using git submodules.
For the first time installing the theme, run the following command in your site’s directory.
git submodule add https://github.com/bin16/hugo-theme-island themes/hugo-theme-island
And also remember to edit your configuration file to add the theme.
After committed and push you site, when you want to clone the project somewhere else, just run
git clone --recurse-submodules https://repo-of-your-site
Or, may be you have already cloned the repo without the --recurse-submodules
flag, just run:
git submodule update --init --recursive
Using Hugo Modules
You can also install theme with Hugo Modules.
See: https://gohugo.io/hugo-modules/use-modules/#use-a-module-for-a-theme