A template to define a Hugo module compatible with Hinode
Hinode is a clean blog theme for Hugo, an open-source static site generator. Hinode is available as a template, and a main theme. Visit the Hinode documentation site for installation instructions.
Hinode is pretty incredible as it is, and as we all know, allows users to choose between viewing the website in either dark or light mode. But, what if you wanted to force your website to remain in dark mode permanently? You would either have to tinker with hinode's sass configuration and create your own color scheme, or you would have to run a little javascript in the background and allow javascript to toggle on the dark mode feature for you every time. We preferred the latter choice, so we hacked away and created a module to do this.
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] conventionalcommits specification. You
can run npx git-cz from the terminal to help prepare the commit message.
You will need to have dark mode enabled in config/_default/params.toml by setting enableDarkMode = true.
