Cactus is a minimalistic theme for bloggers based on the default theme of the same-named Cactus static site generatorwritten in Python and Nick Balestra's Jekyll port. Noteworthy features of this Hugo theme are the integration of a comment-system powered by Disqus, a customizable about page, support for RSS feeds, syntax highlighting for source code, and sharing options for blog posts.
Inside the folder of your Hugo site, run:
$ cd themes $ git clone https://github.com/digitalcraftsman/hugo-cactus-theme.git
For more information, please read Hugo's official setup guide.
The config file
To use it, copy the
config.toml file to the root folder of your Hugo site. Feel free to change the strings as you like to customize your website.
Make sure to update the
themesDir property in the config file to point to your site's theme folder, otherwise an error will be thrown indicating the themes folder is unable to be found.
Use the about page to introduce yourself to your visitors. You can customize the content as you like in the
config.toml. Furthermore, you should replace the avatar placeholder with a great image of yourself.
This theme features a comment system powered by Disqus too. Just add your Disqus-shortname to the
config.toml and let readers respond to your blog posts.
Social link icons
You can add a social link panel in the footer by adding entries to the
social block in the
config.toml. You can choose between two icon fonts:
mono-social to the
iconFont variable. The Mono social icons offer three styles of icons: circle, rounded, or default (empty).
To see your site in action, run Hugo's built-in local server.
$ hugo server
localhost:1313 in the address bar of your browser.