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.
- Host: GitHub
- URL: https://github.com/devidw/cookiecutter-hugo-theme-component
- Owner: devidw
- License: mit
- Created: 2022-03-11T18:04:17.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-12T20:27:07.000Z (about 4 years ago)
- Last Synced: 2025-10-23T18:48:23.492Z (7 months ago)
- Topics: cookiecutter, cookiecutter-template, hugo, hugo-boilerplate, hugo-template, hugo-theme-component, scaffold-template, scaffolder-project, scaffolding, scaffolding-wizards, template, template-project, template-repository
- Language: Sass
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
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.