summaryrefslogtreecommitdiffhomepage
path: root/layouts/shortcodes/blocks/lead.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/blocks/lead.html')
-rw-r--r--layouts/shortcodes/blocks/lead.html11
1 files changed, 11 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>