Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A minimal, open-source Hugo theme for blogging with dark mode, deeplinks, galleries, and Staticman comments.
Hugo Swift Theme is a minimal open-source blogging theme for the Hugo static site generator, delivering dark mode, deeplinks, galleries, and Staticman comments while avoiding heavy front-end frameworks like jQuery and Bootstrap.
Hugo Swift Theme is a simple open-source blog theme built for Hugo, created and maintained by onweru on GitHub. It takes Markdown content files and produces a fully styled static blog with pagination, syntax highlighting, and a responsive layout. The theme requires the extended version of Hugo because it compiles styles from Sass. It is released under the MIT license and currently has 121 stars on GitHub.
Install the theme as a Git submodule inside your Hugo site folder, then configure global settings and menus in the hugo.toml file. To enable Staticman comments, follow the theme's wiki; to add authors, copy the sample authors YAML into your site's data directory and reference the author name in each post. Theme colors live in a Sass variables partial that accepts standard color formats.
Hugo Swift Theme is free and open source, available under the MIT license.
Yes. The theme uses Sass for styling, so you need the extended Hugo build with Sass support, either installed locally or in your CI pipeline.
Staticman comments are turned off by default. Refer to the theme's Staticman config wiki, which walks through the configuration steps, including optional reCAPTCHA setup.
Yes. Open the Sass variables partial (assets/sass/_variables.sass) and update the color variables. You can use named colors, rgb, rgba, hsla, or hex values.
Copy the authors YAML file from the exampleSite into your site's data directory, then set the author key in a post's front matter to match a name from that file. Omit the author key to exclude the block.
The theme includes three shortcodes: video (takes a YouTube video ID), picture (takes three positional parameters for light image, dark image, and alt text), and gallery (takes a comma-separated list of image paths and an optional double-colon-separated list of alt text).