@gethinode/mod-bootstrap v1.3.3
Hinode Module - Bootstrap
About

Hinode is a clean blog theme for Hugo, an open-source static site generator. Hinode is available as a template, and a main theme. This repository maintains a Hugo module to add the Bootstrap toolkit to a Hinode site. Visit the Hinode documentation site for installation instructions.
Notes
Vendor files
Hugo uses Go Modules under the hood. The top-level /vendor directory has a special meaning and is deleted from the release bundle after downloading. Unfortunately the algorithm is a bit too aggressive and removes the scss/modules/bootstrap/vendor from the Bootstrap repository too.
This modules uses a workaround to mount the folder from the project itself. The concerned file _rfs.scss is copied from the npm release assets by running the npm script update:vendor:step1. See https://github.com/gohugoio/hugo/issues/6945 for more details.
Dart support
When transpiling with Dart Sass, use the file assets/scss/bootstrap-dart.scss as entrypoint instead of assets/scss/bootstrap.scss. The former file includes modifications to address several deprecation warnings. Run the npm command update-scss to recreate the modified files, which are derived from the Bootstrap source files. The script is not compatible with Windows, due to the different handling of double quotes on this Operating System.
Contributing
This module uses semantic-release to automate the release of new versions. The package uses husky and commitlint to ensure commit messages adhere to the Conventional Commits specification. You can run npx git-cz from the terminal to help prepare the commit message.
6 months ago
11 months ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago