mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 12:13:19 -06:00
Remove unreachable errorf
in aside shortcode
This commit is contained in:
parent
8e3fb4038a
commit
121a67a1fc
@ -1,7 +1,5 @@
|
|||||||
<aside>
|
<aside>
|
||||||
{{ with .Inner }}
|
{{ with .Inner }}
|
||||||
{{ . | markdownify }}
|
{{ . | 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 }}
|
{{ end }}
|
||||||
</aside>
|
</aside>
|
||||||
|
Loading…
Reference in New Issue
Block a user