diff options
author | Tobias Sachs <tobias@tobiassachs.de> | 2017-04-27 23:08:57 +0300 |
---|---|---|
committer | Tobias Sachs <tobias@tobiassachs.de> | 2017-04-27 23:08:57 +0300 |
commit | 5489fb87962c22ce7228fb9266cde8dd02ce3948 (patch) | |
tree | 51d6780672ef4ce6a75bb1272bb188507070b304 /layouts | |
parent | ba0fb12ae65dec0d1844f945c80d29030261e6d1 (diff) |
Make the Contact Form also a variable to remove it
Diffstat (limited to 'layouts')
-rwxr-xr-x | layouts/partials/contact.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/contact.html b/layouts/partials/contact.html index 03c2baa..471a7b6 100755 --- a/layouts/partials/contact.html +++ b/layouts/partials/contact.html @@ -19,7 +19,7 @@ {{ end }}
</ul>
</div>
-
+ {{ if .Site.Params.contact.form }}
<div class="col-md-6 to-animate">
<h3>{{ with .Site.Params.contact.form }}{{ . | markdownify }}{{ end }}</h3>
<form method="post" action="//formspree.io/{{ with .Site.Params.email }}{{.}}{{ end }}">
@@ -52,7 +52,7 @@ </div>
</form>
</div>
-
+ {{ end }}
</div>
</div>
{{ if .Site.Params.contact.map }}
|