Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/themefisher/vex-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMehedi Sharif Titas <mehedishariftitas@gmail.com>2020-04-05 23:55:01 +0300
committerGitHub <noreply@github.com>2020-04-05 23:55:01 +0300
commit46e89b6be9864c0a72b08fb9faaba33082119317 (patch)
treec9a7046b4af7425079a4373d2dcdd2e4e4f27718
parent8417996e9d995458734e42933b7615c55879b415 (diff)
parent9ae406f989449b765e1065b7077c669abbd8428f (diff)
Merge pull request #13 from AutomationD/master
Add custom html args to cta
-rw-r--r--layouts/partials/call-to-action.html4
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 }}