Add section shortcode.

It seems there are some issues in wrapping complex blocks of markdown in
html tags, especially when the block contains other short codes.
Content would either only partially render or fail completely.
This commit is contained in:
Shawn O'Hare 2015-12-30 21:34:52 -08:00
commit 45c0414b3d
2 changed files with 31 additions and 6 deletions
layouts/shortcodes

View file

@ -0,0 +1,9 @@
{{ with .Get 0 }}
{{ if eq . "begin" }}
<section>
{{ else if eq . "end" }}
</section>
{{ end }}
{{ end }}