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

github.com/kdevo/osprey-delight.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToma Nistor <toma.nistor@gmail.com>2018-02-18 12:26:42 +0300
committerGitHub <noreply@github.com>2018-02-18 12:26:42 +0300
commit190a9e9e9cc89742c4a14174fb2853c5487b47b1 (patch)
treea7e873daef99a880b20f3ed9b31cc5c48fd8dce6
parent4e5b041d09e759542f3d53a190eeb288f96447e8 (diff)
parent0c1def20a293546338faca94f0f4a43c18e239c0 (diff)
Merge pull request #29 from uniberg/fix_contactsv1.1.4
Disable the contact form if Formspree is not used
-rw-r--r--layouts/partials/contact.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/contact.html b/layouts/partials/contact.html
index a51f631..04937c1 100644
--- a/layouts/partials/contact.html
+++ b/layouts/partials/contact.html
@@ -1,3 +1,4 @@
+{{ if .Site.Params.ajaxFormspree }}
<section class="contact" id="contact">
<div class="container">
<div class="row center-xs">
@@ -17,3 +18,4 @@
</form>
</div>
</section>
+{{ end }}