treat-jekyll-template

treat-jekyll-template

🍰 Food/baking blog template for Jekyll

Treat

Food/baking blog template for Jekyll. Browse through a live demo.

Treat was made by CloudCannon, the Cloud CMS for Jekyll.

Find more templates, themes and step-by-step Jekyll tutorials at CloudCannon Academy.

Features

  • Contact form
  • Pre-built pages
  • Pre-styled components
  • Blog with pagination
  • Disqus comments for posts
  • Configurable sidebar
  • Optimised for editing in CloudCannon
  • 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 (with CloudCannon or Jekyll locally).

Develop

Treat was built with Jekyll version 3.4.3, but should support newer versions as well.

Install the dependencies with Bundler:

$ bundle install

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

$ bundle exec jekyll serve

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.
  • Exposed as a data file to give clients better access.
  • Set in the Data / Navigation section.
  • Exposed as a data file to give clients better access.
  • Set in the Data / Footer section.