Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A Hugo module to add the Bootstrap toolkit to your Hinode site
Hinode Module - Bootstrap is a Hugo module that adds the Bootstrap toolkit to a Hinode site, enabling Bootstrap's CSS and JavaScript components within Hugo-powered blogs built on the clean Hinode theme.
Hinode Module - Bootstrap is a Hugo module maintained by the gethinode organization on GitHub. It integrates the Bootstrap toolkit into a site built with the Hinode theme, which is a clean blog theme for Hugo, an open-source static site generator. The module takes Bootstrap's SCSS source and wiring and makes it available to a Hinode project, so developers can use Bootstrap's grid, components, and utilities directly in their Hugo templates. It is distributed as a separate repository from the main Hinode theme and the Hinode template.
scss/modules/bootstrap/vendor directory from downloaded modules; this module mounts that folder from the project itself and uses the npm script update:vendor:step1 to copy _rfs.scss from Bootstrap's npm release assets.assets/scss/bootstrap-dart.scss instead of assets/scss/bootstrap.scss; the former includes modifications that address several deprecation warnings in Bootstrap's source.update-scss recreates the modified SCSS files from Bootstrap's source. This script is not compatible with Windows because of different handling of double quotes on that operating system.npx git-cz to generate commit messages that comply with the project's conventions.bootstrap-dart.scss entrypoint to avoid deprecation warnings that appear when compiling Bootstrap with Dart Sass._rfs.scss present even though Hugo's vendor cleanup would otherwise remove them.The module integrates with Hugo's Go Modules system and asset pipeline. Because Hugo aggressively deletes vendor directories from downloaded modules, the module mounts the Bootstrap vendor folder from the project itself and restores the missing _rfs.scss file via the npm script update:vendor:step1. For Dart Sass, the module provides an alternate entrypoint, bootstrap-dart.scss, which contains modifications to address deprecation warnings; running npm run update-scss regenerates these modified files from Bootstrap's original source.
update-scss npm script is not compatible with Windows, so Windows users cannot regenerate the modified SCSS files automatically._rfs.scss available.No. This module only adds the Bootstrap toolkit to an existing Hinode site. You still need the Hinode theme itself, which is available as a template or the main theme repository from gethinode.
bootstrap-dart.scss is an alternate entrypoint for Dart Sass users. It includes modifications that address several deprecation warnings that appear when transpiling Bootstrap with Dart Sass. Use it instead of bootstrap.scss when your build uses Dart Sass.
The module itself works on any platform, but the npm script update-scss used to regenerate modified Bootstrap SCSS files is not compatible with Windows. This is because of different handling of double quotes in commands on that operating system.
The documentation site at gethinode.com provides installation instructions. The module is designed to be included as a Hugo module in your site's configuration, following standard Hugo module workflows.
