Skip to content

CloudCannon/justice-jekyll-template

Repository files navigation

Justice

Law firm themed business template for Jekyll. Browse through a live demo. Increase the web presence of a law firm or business with this configurable theme.

Justice template screenshot

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

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

Deploy to CloudCannon

Features

  • Contact form
  • Pre-built pages
  • Pre-styled components
  • Blog with pagination
  • Post category pages
  • Disqus comments for posts
  • Staff and author system
  • Configurable footer
  • 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 and Disqus keys to _config.yml.
  3. Get a workflow going to see your site's output (with CloudCannon or Jekyll locally).

Develop

Justice was built with Jekyll version 3.3.1, 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

Justice is already optimised for adding, updating and removing pages, staff, posts, company details and footer elements in CloudCannon.

Posts

  • Add, update or remove a post in the Posts collection.
  • The Staff Author field links to members in the Staff collection.
  • 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.

Staff

  • Reused around the site to save multiple editing locations.

Footer

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

Company details

  • Reused around the site to save multiple editing locations.
  • Set in the Data / Company section.