mirror of
https://github.com/nikdoof/website-hugo.git
synced 2025-12-13 09:52:17 +00:00
10 lines
278 B
HTML
10 lines
278 B
HTML
{{ $blocks := split .Inner "<!-- block_separator -->" }}
|
|
{{ range $index, $block := $blocks }}
|
|
<div class="block">
|
|
{{ $block | markdownify | safeHTML }}
|
|
</div>
|
|
{{ if ne (add $index 1) (len $blocks) }}
|
|
<hr class="separator" />
|
|
{{ end }}
|
|
{{ end }}
|