Blankslate Input in content/some/file.md: shortcode {{<blankslate>}}some text{{</blankslate>}} Hugo generated output: html<div class="blankslate"> some text </div> Source code /layouts/partials/component/blankslate.html template{{ $Content := . }} {{ if reflect.IsMap . }} {{ $Content = .Content }} {{ end }} <div class="blankslate"> {{ $Content }} </div> Avatars Alert