aboutsummaryrefslogtreecommitdiff
path: root/themes/docsy/layouts/shortcodes/blocks/section.html
blob: d5897f648b55eac47815567559c173d56823440e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{{ $_hugo_config := `{ "version": 1 }` }}
{{ $col_id := .Get "color" | default .Ordinal }}
{{ $height := .Get "height" | default "auto"  }}
{{ $type   := .Get "type" | default "" }} 
<a id="td-block-{{ .Ordinal }}" class="td-offset-anchor"></a>
<section class="row td-box td-box--{{ $col_id }} td-box--gradient td-box--height-{{ $height }}">
	<div class="col">
		<div class="row {{ $type }}">
			{{ .Inner | markdownify}}
		</div>
	</div>
</section>