bobatheme/layouts/shortcodes/aside.html

8 lines
263 B
HTML
Raw Normal View History

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