diff options
author | Toma Nistor <toma.nistor@gmail.com> | 2018-02-18 12:26:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-18 12:26:42 +0300 |
commit | 190a9e9e9cc89742c4a14174fb2853c5487b47b1 (patch) | |
tree | a7e873daef99a880b20f3ed9b31cc5c48fd8dce6 | |
parent | 4e5b041d09e759542f3d53a190eeb288f96447e8 (diff) | |
parent | 0c1def20a293546338faca94f0f4a43c18e239c0 (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.html | 2 |
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 }} |