Hugo shortcode ignored saying “raw HTML omitted”
问题 I have written a shortcode to create a bootstrap dismissable alert box. Below is my shortcode called as layouts/shortcodes/message.html . <div class="alert alert-{{.Get 0}} alert-dismissible fade show" role="alert"> {{.Inner}} <button type="button" class="close" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> This is how I am calling from my content markdown file: {{% message warning%}} This can cause build errors {{% /message %}} However, in the