mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-12-24 22:39:45 +01:00
45c0414b3d
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.
9 lines
133 B
HTML
9 lines
133 B
HTML
{{ with .Get 0 }}
|
|
{{ if eq . "begin" }}
|
|
<section>
|
|
{{ else if eq . "end" }}
|
|
</section>
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
|