Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A minimal Hugo theme built with Bootstrap that focuses on content readability.
Minimal Bootstrap Hugo Theme is a Hugo theme built with the Bootstrap CSS framework that pairs the static site generator with a clean, content-focused layout. It is designed for blogs and documentation sites and is distributed on GitHub under the username zwbetz-gh. The theme takes Markdown content and standard Hugo configuration as input and produces a static website with a simple, readable blog layout, built-in syntax highlighting, and a cookie-consent partial. The repository is now archived and read-only, so no further updates are planned.
Minimal Bootstrap Hugo Theme is a Hugo theme created by zwbetz-gh that uses the Bootstrap CSS framework for its layout and typography. It requires Hugo version 0.60.1 or higher and is installed as a git submodule. The theme ships with a default homepage, overridable templates, and a set of six shortcodes for images, blockquotes, Mastodon embeds, and file links. The demo site is hosted on Netlify at https://minimal-bootstrap-hugo-theme.netlify.com/.
layouts/index.html into your own site's layouts folder.imgAbs (absolute path), imgRel (relative path), and imgProc (Hugo page-bundle image processing with Resize, Fit, and Fill commands).Blog authors: publish posts with Bootstrap-styled typography and built-in syntax highlighting for code examples.
Hugo developers: test and learn theme override workflows by copying and editing the homepage or cookie-consent partial.
Social media enthusiasts: embed Mastodon toots directly into posts using the mastodon shortcode.
Photography or image-heavy sites: process page-bundle images with imgProc to resize, fit, or fill them at build time.
Install the theme from your site's root with git submodule add https://github.com/zwbetz-gh/minimal-bootstrap-hugo-theme.git themes/minimal-bootstrap-hugo-theme, copy config.toml from the exampleSite, and run the example site with hugo server --themesDir ../.. from inside exampleSite. To update, run git submodule update --remote --merge. The README also covers favicon generation via RealFaviconGenerator and points to the Hugo forum for help.
No. The repository is archived and read-only, so no future updates or bug fixes will be published. You can still use the theme as-is, but you'll need to fork it if you want to make changes yourself.
The theme requires Hugo version 0.60.1 or higher. The README directs you to the Hugo releases page to download the correct binary for your operating system.
Copy themes/minimal-bootstrap-hugo-theme/layouts/index.html to YOUR_SITE/layouts/index.html and edit the copy. Hugo gives priority to files in your site's layouts folder over theme templates.
Copy layouts/partials/cookie-consent.html from the theme to your site's layouts/partials/, complete the wizard at cookieconsent.insites.com/download, and paste the generated code into the copied partial.
The theme includes six shortcodes: blockquote, imgAbs, imgRel, imgProc, mastodon, and fileRel. Each is documented in the README with example usage and optional arguments.
