jekyll-theme-recipe

Recipe is a Jekyll theme for recipe websites, and adapted from CloudCannons Treat theme


License
CC0-1.0
Install
gem install jekyll-theme-recipe -v 0.9.0

Documentation

Recipe

Food/baking blog theme for Jekyll.

Recipe theme screenshot

Features

  • Contact form
  • Pre-built pages
  • Pre-styled components
  • Blog with pagination
  • Disqus comments for posts
  • Configurable sidebar
  • RSS/Atom feed
  • SEO tags
  • Google Analytics

Setup

  1. Add your site and author details in _config.yml.
  2. Add your Google Analytics, Disqus and MailChimp keys to _config.yml.
  3. Add your details to _data/sidebar.yml.
  4. Get a workflow going to see your site's output.

Develop

Recipe was built with Jekyll version 3.5, but should support newer versions as well.

Add to your Gemfile:

 gem "jekyll-theme-recipe",

Install the dependencies with Bundler:

$ bundle install

Run jekyll commands through Bundler to ensure you're using the right versions:

$ bundle exec jekyll serve

!!! You need to copy the about.html, contact-success.html, contact.html, index.html and recipes.html from the github repository

Editing

Treat is already optimised for adding, updating and removing recipes, navigation, page content, and sidebar information in CloudCannon.

Posts/Recipes

  • Add, update or remove a post in the Posts collection.
  • The recipes page is organised by categories.
  • Change the defaults when new posts are created in _posts/_defaults.md.

Contact Form

  • Preconfigured to work with CloudCannon, but easily changed to another provider (e.g. FormSpree).
  • Sends email to the address listed in company details.

Navigation

  • Exposed as a data file to give clients better access.
  • Set in the Data / Navigation section.

Footer

  • Exposed as a data file to give clients better access.
  • Set in the Data / Footer section.