Recipe
Food/baking blog theme for Jekyll.
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
- Add your site and author details in
_config.yml
. - Add your Google Analytics, Disqus and MailChimp keys to
_config.yml
. - Add your details to
_data/sidebar.yml
. - 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.