bobatheme/layouts/shortcodes/aside.html
2021-11-06 17:02:59 -05:00

8 lines
255 B
HTML

<aside>
{{ with .Inner }}
{{ . | markdownify }}
{{ else }}
{{ errorf "The aside shortcode needs to be a closing one (similar to the highlight shortcode, see https://gohugo.io/templates/shortcode-templates/#inner" }}
{{ end }}
</aside>