Hugo Sustain screenshot

Hugo Sustain

Author Avatar Theme by Suyundukov
Updated: 24 May 2023
214 Stars

Personal blog theme built with Bootstrap, powered by Hugo.

Overview

The Sustain theme is a port of the Jekyll theme Sustain by Fábio Madeira. It is designed for use with Hugo, a static site generator. The theme supports most of the features of the original Jekyll theme and offers additional functionalities.

Features

  • Syntax highlighting: Include highlight.js javascript and css files by setting highlight = true in the front matter.
  • Disqus integration: Uncomment and fill out the disqusShortname parameter in the config.toml file to enable Disqus comments.
  • Google Analytics: Add Google Analytics to your site by signing up for your Google Tracking ID and adding it to the googleAnalytics parameter in the config.toml file.
  • Easy installation: Clone the theme repository or download the zip archive. Copy the theme files into your Hugo site’s themes folder.
  • Demo content: The theme includes an example setup with a demo configuration file and content, making it easy to get started quickly.
  • Development server: Hugo includes a development server, allowing you to view your changes in real-time by running a command.
  • Contributions welcome: The theme is open to contributions, including bug fixes, new features, and pull requests.

Installation

With git

  1. From the root of your Hugo site, clone the theme repository into themes/hugo-sustain by running:
git clone https://github.com/{repository-name}/hugo-sustain.git themes/hugo-sustain

Manual

  1. Download the zip archive of the theme.
  2. Unarchive the file.
  3. Move the hugo-sustain folder into the themes folder of your Hugo site.

For more detailed installation instructions, refer to the official setup guide of Hugo.

Summary

The Sustain theme for Hugo offers an easy installation process and a variety of features, including syntax highlighting, Disqus integration, and Google Analytics support. It is a port of the original Jekyll theme and supports most of its features. The theme also includes example content and a development server for convenient development. Contributions to the theme are welcome, making it a versatile and customizable option for Hugo users.