Remove unreachable `errorf` in aside shortcode

This commit is contained in:
BBaoVanC 2022-05-13 14:33:36 -05:00
parent 8e3fb4038a
commit 121a67a1fc
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
1 changed files with 0 additions and 2 deletions

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>