Add aside shortcode

This commit is contained in:
bbaovanc committed 2021-11-06 17:02:59 -05:00
1 parent 42f0046747
commit 4e27a6ce8a
2 files changed
+18

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
<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>