Skip to content

🏢 Law firm themed business template for Hugo

License

Notifications You must be signed in to change notification settings

CloudCannon/justice-hugo-template

Repository files navigation

Justice

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

_screenshot

Justice was made by CloudCannon, a Jamstack platform for the whole team.

Deploy to CloudCannon

Features

  • Contact form
  • Pre-built pages
  • Pre-styled components
  • Blog with pagination and category pages
  • Disqus comments for posts
  • 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.toml.
  2. Add your Google Analytics and Disqus keys to config.toml.
  3. Get a workflow going to see your site's output (with CloudCannon or Hugo locally).

Develop

Justice was built with Hugo version 0.80.0, but should support newer versions as well.

Run the standalone executable hugo to serve the site locally:

$ hugo server

Editing

Justice is set up for adding, updating and removing pages, authors, posts, company details and footer elements in CloudCannon.

Posts

  • Add, update or remove a post in the posts section.
  • The author field links to the authors data.
  • 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.

Author

  • Reused around the site to save multiple editing locations.

Footer

  • Set how this displays with each page front matter in menu.footer.

Company details

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