- Install Jekyll: https://jekyllrb.com/docs/installation/windows/
- Install Poetry: https://python-poetry.org/docs/
- Run
poetry installfrom the project root.
Run from the root:
bundle exec jekyll serve --livereload
You might need to run bundle install first, but you should get a warning if that is the case.
To automatically generate the left navigation (recipe index) from the folder structure under _recipes/ run:
poetry run python .\python\generate_navigation.py
Create a new folder under _recipes/. Then run the python script for generating navigation.
Create a new .md file under your chosen category in _recipes/ and fill out the recipe using the following template:
---
title: <title>
description:
<description>
ingredients:
- title: <optional ingredients subtitle>
steps:
- <amount> <ingredient 1>
- <amount> <ingredient 2>
- title: <optional ingredients subtitle>
steps:
- <amount> <ingredient 3>
- <amount> <ingredient 4>
instructions:
- title: <optional instruction subtitle>
steps:
- <step 1>
- <step 2>
- title: <optional instruction subtitle>
steps:
- <step 3>
- <step 4>
image: <path to cover image>
yield: <description of yield>
category: <name of category>
total_time: <total time>
source: <link to original source>
note: <notes>
---The content can include html elements as well, like links:
description:
Amazing wontons best served with a <a href="./chinese_cucumber_salad">to-die-for cucumber salad</a>! These are also easy and fun to make!Icons are also supported: https://aksakalli.github.io/jekyll-doc-theme/docs/font-awesome/