A Hugo theme component to display nice notices
The Hugo Notice theme component is designed to provide a shortcode that allows users to display attractive notices on their Hugo websites. The component supports dark mode and offers four notice types: warning, info, note, and tip. It also includes localization in 17 languages, making it accessible to a wide range of users.
There are two ways to install the Hugo Notice theme component:
Hugo Module:
module:
imports:
- path: github.com/martignoni/hugo-notice
- path: <your-theme-module>
[[module.imports]]
path = "github.com/martignoni/hugo-notice"
[[module.imports]]
path = "<your-theme-module>"
Git Submodule:
git submodule add https://github.com/martignoni/hugo-notice.git themes/hugo-notice.theme:
- hugo-notice
- <your-other-themes>
theme = ["hugo-notice", "<your-other-themes>"]
The Hugo Notice theme component provides a shortcode that allows users to display attractive notices on their Hugo websites. It offers dark mode support and includes four notice types: warning, info, note, and tip. The component also offers localization in 17 languages, making it a versatile and accessible option for Hugo users. Installation can be done either using Hugo module or Git submodule methods.