hugo-tufte/layouts/shortcodes/section.html
Shawn O'Hare 45c0414b3d 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.
2015-12-30 21:34:52 -08:00

9 lines
133 B
HTML

{{ with .Get 0 }}
{{ if eq . "begin" }}
<section>
{{ else if eq . "end" }}
</section>
{{ end }}
{{ end }}