Skip to content

upamanyudas/learningtocook.github.io

Repository files navigation

Learning to Cook

A simple website for my food adventures. Also serving as a recipe app for the viewers.

Inspired by Chowdown

Getting Started

This app is built using Jekyll. Make sure you have Jekyll installed. To install, run this command in the terminal (or iTerm, etc):

gem install bundler jekyll

or to check if you've got it installed already:

jekyll -v

Clone or download this repo. Navigate to the folder in terminal (or iTerm, etc), and then run:

jekyll serve --baseurl "" --host=0.0.0.0 --force_polling

With default settings, you should be able to view the site locally at http://0.0.0.0:4000/

Writing a 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)

If you need help with Markdown, here's a handy cheatsheet.

Writing a component recipe

A component recipe is a special recipe made up of other recipes. To make a new component recipe:

  • place your smaller, single recipes into the /_components folder
  • make a new recipe like normal in the /_recipes folders
  • in the frontmatter of this new recipe, include your recipes from the /_components folder (instead of the usual Ingredeints list)

You can an example on the Red Berry Tart recipe.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published