Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A Hugo personal blog theme built with Bootstrap, offering syntax highlighting, Disqus comments, and Google Analytics support.
Sustain is a Hugo theme for personal blogs that adapts the Jekyll theme of the same name, built on Bootstrap and offering syntax highlighting, Disqus comments, and Google Analytics integration.
Sustain is a Hugo theme for personal blogs, ported from the Jekyll theme Sustain by Fábio Madeira. It takes a Hugo site's content — Markdown files for blog posts and projects — and renders it as a static website styled with Bootstrap. The theme is maintained in the GitHub repository nurlansu/hugo-sustain and is distributed under an MIT license. A live demo is available at demo.suyundukov.com/hugo-sustain/.
highlight = true in the front matter; this loads highlight.js JavaScript and CSS files to colorize code blocks.disqusShortname parameter in config.toml to add comment threads to your posts.googleAnalytics parameter in config.toml to enable site statistics.projects.md content file and a projects.yml data file to display a list of projects on the site.exampleSite folder containing a sample config.toml, several blog posts, data files, and static assets to use as a starting point.LICENSE.md file is included in the repository.content/blog folder and they render as blog entries with optional syntax highlighting and Disqus comments.projects.yml to display a list of projects on the homepage.To install, clone the repository into themes/hugo-sustain or download and unzip the archive into your themes folder. Then copy the config.toml from exampleSite to your site root, add your content, and run hugo serve to develop locally at localhost:1313.
Sustain is free and open source under the MIT license.
To install, run git clone https://github.com/nurlansu/hugo-sustain.git themes/hugo-sustain from the root of your Hugo site. Alternatively, download the zip archive, unzip it, and move the hugo-sustain folder into your themes directory. The official Hugo setup guide provides additional details.
Yes, it uses highlight.js. For a single post, set highlight = true in the post's front matter to include the highlight.js JavaScript and CSS files. This colors code blocks in that post without affecting other pages.
Yes. In your config.toml, uncomment the disqusShortname parameter and set it to your Disqus shortname. This enables comment threads on your blog posts, allowing readers to engage with your content.
Sign up for Google Analytics to get a tracking ID, then add that ID to the googleAnalytics parameter in config.toml. The theme automatically includes the Google Analytics tracking snippet on every page when this parameter is set.
Yes, Sustain is open source and distributed under the MIT license. This means you can freely use, modify, and distribute it, as long as you retain the copyright notice. The license file is included in the repository.