Boilerplate template to create new hugo theme components blazingly fast.
Follow the below steps to create a new project.
1. Install cookiecutter
pip install cookiecutter
For the first time:
cookiecutter https://github.com/devidw/cookiecutter-hugo-theme-component.git
Afterwards:
cookiecutter cookiecutter-hugo-theme-component
If you would like to modify the cookiecutter, you can do so by cloning the repo and modifying the files. To use your modified cookiecutter version, you can call cookiecutter with the path of your modified cookiecutter directory:
cookiecutter ./path/to/your/modified/cookiecutter-hugo-theme-component
You will be prompted to enter the details specified in cookiecutter.json.
Note
|
For now, the feature_* answers only apply to the conditional creation of the README.adoc file. Not the actual directory structure in the project.
|