Skip to content

Boilerplate template to scaffold new hugo theme components blazingly fast.

License

Notifications You must be signed in to change notification settings

devidw/cookiecutter-hugo-theme-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cookiecutter Hugo Theme Component

Boilerplate template to create new hugo theme components blazingly fast.

Usage

Follow the below steps to create a new project.

1. Install cookiecutter

pip install cookiecutter

2. Create a new project

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

3. Enter your project details

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.