aboutsummaryrefslogtreecommitdiff
path: root/themes/docsy/layouts/shortcodes/blocks/lead.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/docsy/layouts/shortcodes/blocks/lead.html')
-rw-r--r--themes/docsy/layouts/shortcodes/blocks/lead.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/themes/docsy/layouts/shortcodes/blocks/lead.html b/themes/docsy/layouts/shortcodes/blocks/lead.html
new file mode 100644
index 0000000..f57ebb1
--- /dev/null
+++ b/themes/docsy/layouts/shortcodes/blocks/lead.html
@@ -0,0 +1,12 @@
+{{ $_hugo_config := `{ "version": 1 }` }}
+{{ $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 text-center td-arrow-down">
+ <span class="h4 mb-0">
+ {{ .Inner | markdownify }}
+ </span>
+ </div>
+</section>