A simple recipe site, soft-forked from: http://chowdown.io
- Install ruby 2.7.6
gem install bundler jekyll
(for more info see https://jekyllrb.com/)jekyll serve --live
to run locally
- Install python 3
- Run
python ./recipe-importer/main.py '<url_of_recipe>'
The recipes are stored in the collection "Recipes" (the folder /_recipes).
They are written in Markdown and contain a few special sections:
- The frontmatter, which contains:
- Title, Image, and Layout (which is "recipe")
- Ingredients (a list of things in the dish)
- Directions (a list of steps for the dish)
- Body content (for intros, stories, written detail)
A component recipe is a recipe made up of other recipes. To make a new component recipe:
- Add a
recipes
list to your page - reference the recipe you wish to include by its filename
- Tabs should be expanded to 2 spaces.
- You can't start an item in a list with double quotes