culinary.kemonine.info/themes/hugo-recipes
2022-12-03 10:27:03 -05:00
..
archetypes/default initial site creation 2022-12-03 10:27:03 -05:00
assets initial site creation 2022-12-03 10:27:03 -05:00
layouts initial site creation 2022-12-03 10:27:03 -05:00
.gitignore initial site creation 2022-12-03 10:27:03 -05:00
.prettierignore initial site creation 2022-12-03 10:27:03 -05:00
.prettierrc.toml initial site creation 2022-12-03 10:27:03 -05:00
.stylelintrc.json initial site creation 2022-12-03 10:27:03 -05:00
go.mod initial site creation 2022-12-03 10:27:03 -05:00
LICENSE initial site creation 2022-12-03 10:27:03 -05:00
README.md initial site creation 2022-12-03 10:27:03 -05:00
theme.toml initial site creation 2022-12-03 10:27:03 -05:00

hugo-theme-recipes

A theme for Hugo for managing a cookbook

Quick Start

  1. 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.
  2. Add the repository into your Hugo Project repository as a submodule, git submodule add https://github.com/butlerx/hugo-recipes themes/recipes.
  3. Configure your config.toml or config.yaml.
  4. Build your site with hugo serve and see the result at http://localhost:1313/.

Using this theme

Add a new recipe draft

  1. Navigate to the root directory of your website folder within a terminal
  2. Type hugo new name-of-your-new-recipe-here, replacing name-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 at content/hot-dog, and the title within the index.md file in that folder would be Hot Dog.

License

Coder is licensed under the MIT license.