summaryrefslogtreecommitdiffhomepage
path: root/layouts/shortcodes/blocks/lead.html
diff options
context:
space:
mode:
authorIan Lewis <ianmlewis@gmail.com>2019-03-29 22:40:11 -0400
committerIan Lewis <ianmlewis@gmail.com>2019-03-29 22:40:11 -0400
commit22f1890a9beab11d8cfdceba3a4d66f8bbbb468c (patch)
tree110ec3a84a72560244ee4476852295b86a737eb0 /layouts/shortcodes/blocks/lead.html
Initial commit
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>