diff options
author | Dmitry Kireev <dmitry@hazelops.com> | 2020-04-05 23:44:39 +0300 |
---|---|---|
committer | Dmitry Kireev <dmitry@hazelops.com> | 2020-04-05 23:44:39 +0300 |
commit | 9ae406f989449b765e1065b7077c669abbd8428f (patch) | |
tree | c9a7046b4af7425079a4373d2dcdd2e4e4f27718 /layouts | |
parent | 8417996e9d995458734e42933b7615c55879b415 (diff) |
Add custom html args to cta
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/call-to-action.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/call-to-action.html b/layouts/partials/call-to-action.html index 269562f..1d3574e 100644 --- a/layouts/partials/call-to-action.html +++ b/layouts/partials/call-to-action.html @@ -7,7 +7,7 @@ <h2 class="subheading text-white">{{ .title | markdownify }}</h2> <p class="text-white">{{ .content | markdownify }}</p> <div class="input-group"> - <form action="#" class="w-100"> + <form name="contact" {{ if .args }}{{ .args | safeHTMLAttr }}{{ else }}action="#"{{ end }} class="w-100"> <input type="email" id="email" class="form-control" name="email" placeholder="{{ .placeholder }}" required> <button class="btn btn-main btn-submit" type="submit">Subscribe</button> @@ -18,4 +18,4 @@ </div> </section><!-- #call-to-action close --> {{- end }} -{{- end }}
\ No newline at end of file +{{- end }} |