An open API service indexing awesome lists of open source software.

https://github.com/devidw/cookiecutter-hugo-theme-component

Boilerplate template to scaffold new hugo theme components blazingly fast.
https://github.com/devidw/cookiecutter-hugo-theme-component

cookiecutter cookiecutter-template hugo hugo-boilerplate hugo-template hugo-theme-component scaffold-template scaffolder-project scaffolding scaffolding-wizards template template-project template-repository

Last synced: about 1 month ago
JSON representation

Boilerplate template to scaffold new hugo theme components blazingly fast.

Awesome Lists containing this project

README

          

= Cookiecutter Hugo Theme Component

Boilerplate template to create new https://gohugo.io/hugo-modules/theme-components/[hugo theme components] blazingly fast.

== Usage
Follow the below steps to create a new project.

=== 1. Install https://github.com/cookiecutter/cookiecutter[cookiecutter]

[source,sh]
----
pip install cookiecutter
----

=== 2. Create a new project

For the first time:

[source,sh]
----
cookiecutter https://github.com/devidw/cookiecutter-hugo-theme-component.git
----

Afterwards:

[source,sh]
----
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:

[source,sh]
----
cookiecutter ./path/to/your/modified/cookiecutter-hugo-theme-component
----

=== 3. Enter your project details

You will be prompted to enter the details specified in link:./cookiecutter.json[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.