Remove unreachable errorf in aside shortcode

This commit is contained in:
2022-05-13 14:33:36 -05:00
parent 8e3fb4038a
commit 121a67a1fc

View File

@ -1,7 +1,5 @@
<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>