rdela / justice

Legal business template for Eleventy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Justice

Law firm themed business template for Eleventy. 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.

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 _data/seo.json.
  2. Add your Google Analytics and Disqus keys to _data/site.js.
  3. Get a workflow going to see your site's output (with CloudCannon or Eleventy locally).

Develop

Justice was built with Eleventy version 1.0, but should support newer versions as well.

$ npm install
$ npm start

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.
  • 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.

About

Legal business template for Eleventy

License:MIT License


Languages

Language:Nunjucks 65.0%Language:SCSS 27.6%Language:JavaScript 7.3%Language:Shell 0.1%