Alerts
By In posts OnCreate alerts as shortcode or partial or in hugo.toml for global announcements.
info
Make it known: Alerts are fun to use for all!
Written in Go, Hugo is an open source static site generator available under the Apache Licence 2.0. Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows.
I made a wrapper around this debug-hugo partial from kaushalmodi
To turn it on, set enabledebugpanel = true
in front matter or add the same variable to the site params in hugo.toml
.
Adding a map to your hugo website becomes easy with the leaflet
shortcode. You can add a box to display the lat and long as well through the use of the lat-long-box
shortcode.