Govukhugo

screenshot of Govukhugo

GOV.UK style theme for Hugo site builder

Overview

govukhugo is a theme for the Hugo static site builder that is based on the GOV.UK Design System. It has been created to help Cabinet Office Analysts make simple public facing sites for official statistics and open source works using the GOV.UK design system. The theme uses GOV.UK Frontend v3.10.2 and Hugo's Goldmark to render markdown to HTML. It is designed for dashboards, with a wider maximum page width than standard GOV.UK pages.

Features

  • Based on the GOV.UK Design System
  • Uses GOV.UK Frontend v3.10.2
  • Uses Hugo's Goldmark to render markdown to HTML
  • Supports code blocks and provides syntax highlighting with Highlight.js
  • Includes a sidebar menu for organizing content
  • Provides a service acronym and product name in the header

Summary

govukhugo is a theme for the Hugo static site builder that is based on the GOV.UK Design System. It is designed for creating simple public facing sites for official statistics and open source works. The theme includes features such as support for code blocks, a sidebar menu, and syntax highlighting. Installation can be done by downloading the theme files and copying them to the appropriate folder in your Hugo site or by adding govukhugo as a submodule to your Hugo repository.