A theme for Hugo based on the simple, organic feel of a mother's cook book.
- Install Hugo with your favorite package manager, or follow their Installation Guide
- Add the repository into your Hugo Project repository as a submodule,
git submodule add https://github.com/joshjcarrier/hugo-sabrina.git themes/sabrina
. - Configure your
config.toml
orconfig.yaml
with theme named"sabrina"
. - Build your site with
hugo serve
and see the result athttp://localhost:1313/
.
Create .md
files in content/
. Images go in static/
.
---
layout: recipe
title: My recipe
subtitle: Sour, spicy and sweet pickled vegetable appetizer
image:
date:
authorName:
authorURL:
sourceName: My cookbook
sourceLocation: 43
sourceIMG: /images/cookbook/my-recipe.jpg
category: Appetizers
cuisine: American
tags:
- Sour
- Spicy
- Sweet
- Pickled
yield:
prepTime:
cookTime:
subcomponents:
- title: Optional
ingredients:
- One
- Two
directions:
- One
- Two
- title: More
ingredients:
- One
- Two (optional)
ingredients:
- One
- Two
- Three
directions:
- Firstly,
- Secondly,
---
Edit data/glossary.yml
- title: Something foreign
translation: Something understandable
- title: Something else foreign
translation: Something else understandable
- Add a file in
content/search.html
---
title: "Search"
sitemap:
priority: 0.1
layout: "search"
---