.. | ||
archetypes/default | ||
assets | ||
layouts | ||
.gitignore | ||
.prettierignore | ||
.prettierrc.toml | ||
.stylelintrc.json | ||
go.mod | ||
LICENSE | ||
README.md | ||
theme.toml |
hugo-theme-recipes
A theme for Hugo for managing a cookbook
Quick Start
- Install Hugo with your favorite package manager, or follow their
Installation Guide
- Note that the extended version of Hugo is required since this theme needs
SCSS support. At the time of writing, this is the version found by
installing via
HomeBrew
and the
Arch User Repository.
If that isn't the case for your package manager, then install using
$ go install --tags extended
as documented in the Hugo Install Docs.
- Note that the extended version of Hugo is required since this theme needs
SCSS support. At the time of writing, this is the version found by
installing via
HomeBrew
and the
Arch User Repository.
If that isn't the case for your package manager, then install using
- Add the repository into your Hugo Project repository as a submodule,
git submodule add https://github.com/butlerx/hugo-recipes themes/recipes
. - Configure your
config.toml
orconfig.yaml
. - Build your site with
hugo serve
and see the result athttp://localhost:1313/
.
Using this theme
Add a new recipe draft
- Navigate to the root directory of your website folder within a terminal
- Type
hugo new name-of-your-new-recipe-here
, replacingname-of-your-new-recipe-here
with the name of your recipe
- Note that the default template (archetype in Hugo vernacular) will replace the
hypens in the provided name with spaces as the title and capitalize the first
letter of each word. For example, if I were to enter the command
hugo new hot-dog
, I would find a new folder atcontent/hot-dog
, and the title within theindex.md
file in that folder would beHot Dog
.
License
Coder is licensed under the MIT license.