2024-04-25 22:15:39 +00:00
|
|
|
{{ $col_id := .Get "color" | default .Ordinal -}}
|
|
|
|
{{ $height := .Get "height" | default "auto" -}}
|
|
|
|
{{ with .Get "height" -}}
|
|
|
|
{{ if not ( or ( eq . "auto" ) ( eq . "min" ) ( eq . "med" ) ( eq . "max" ) ( eq . "full" ) ) -}}
|
|
|
|
{{ errorf "shortcode 'lead': parameter height is %q, must be one of 'auto', 'min', 'med', 'max' or 'full'." . -}}
|
|
|
|
{{ end -}}
|
|
|
|
{{ end -}}
|
|
|
|
|
|
|
|
<div><a id="td-block-{{ .Ordinal }}" class="td-offset-anchor"></a></div>
|
|
|
|
<section class="row td-box td-box--{{ $col_id }} position-relative td-box--height-{{ $height }}">
|
|
|
|
<div class="col-12">
|
|
|
|
<div class="container text-center td-arrow-down">
|
|
|
|
<div class="h4 mb-0">
|
|
|
|
{{/* Do NOT remove this comment! It ends the HTML block above. See https://spec.commonmark.org/0.30/#html-blocks, 7. */}}
|
|
|
|
{{ .Inner }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-04-21 23:04:16 +00:00
|
|
|
</section>
|
2024-04-25 22:15:39 +00:00
|
|
|
{{/**/ -}}
|