diff options
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r-- | layouts/shortcodes/blocks/lead.html | 11 | ||||
-rw-r--r-- | layouts/shortcodes/blocks/section.html | 12 |
2 files changed, 23 insertions, 0 deletions
diff --git a/layouts/shortcodes/blocks/lead.html b/layouts/shortcodes/blocks/lead.html new file mode 100644 index 000000000..7825eac70 --- /dev/null +++ b/layouts/shortcodes/blocks/lead.html @@ -0,0 +1,11 @@ +{{ $col_id := .Get "color" | default .Ordinal }} +{{ $height := .Get "height" | default "auto" }} +{{/* Height can be one of: auto, min, med, max, full. */}} +<a id="td-block-{{ .Ordinal }}" class="td-offset-anchor"></a> +<section class="row td-box td-box--{{ $col_id }} position-relative td-box--gradient td-box--height-{{ $height }}"> + <div class="container td-arrow-down"> + <span class="h4 mb-0"> + {{ .Inner }} + </span> + </div> +</section> diff --git a/layouts/shortcodes/blocks/section.html b/layouts/shortcodes/blocks/section.html new file mode 100644 index 000000000..de7e6c8f1 --- /dev/null +++ b/layouts/shortcodes/blocks/section.html @@ -0,0 +1,12 @@ +{{ $col_id := .Get "color" | default .Ordinal }} +{{ $height := .Get "height" | default "auto" }} +<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="container"> + <div class="row"> + {{ .Inner }} + </div> + </div> + </div> +</section> |