diff --git a/.hugolint b/.hugolint index 1770b49bc..c6345cf59 100644 --- a/.hugolint +++ b/.hugolint @@ -28,6 +28,7 @@ engines: - _partials/blocks/templates/embed.html - _partials/blocks/templates/features.html - _partials/blocks/templates/files.html + - _partials/blocks/templates/form.html - _partials/blocks/templates/gallery.html - _partials/blocks/templates/image.html - _partials/blocks/templates/jobs.html diff --git a/layouts/_partials/blocks/templates/form.html b/layouts/_partials/blocks/templates/form.html new file mode 100644 index 000000000..03a79f03f --- /dev/null +++ b/layouts/_partials/blocks/templates/form.html @@ -0,0 +1,17 @@ +{{ $block := .block }} +{{ $block_class := partial "blocks/helpers/GetClass" .block }} + +{{ with .block.data }} +
+
+
+ {{ partial "blocks/top.html" $block.top }} + {{ partial "blocks/templates/embed/hooks/after-top.html" $block }} + {{ with .form }} + {{ safeHTML .iframe }} + {{ safeHTML .script }} + {{ end }} +
+
+
+{{ end }}