{{ if .Site.Params.contact }}
<section id="contact">
    <div class="contact bg-danger text-white">
        <div class="text-center p-3 font-weight-bold contact-head">Get In Tough</div>
        <div class="p-3 container">
            <div class="row justify-content-center">
                <div class="col-lg-7">
                    <form action="{{ .Site.Params.action }}" method="POST">
                        <div class="form-group">
                            <label for="exampleFormControlInput1">Email</label>
                            <input type="email" class="form-control" id="exampleFormControlInput1"
                                placeholder="example@gmail.com" name="{{ .Site.Params.emailname }}">
                        </div>

                        <div class="form-group">
                            <label for="exampleFormControlTextarea1">Message</label>
                            <textarea class="form-control" id="exampleFormControlTextarea1" rows="3"
                                name="{{ .Site.Params.messagename }}" placeholder="Type something"></textarea>
                        </div>
                        <div class="text-center">
                            <button type="submit" class="btn btn-primary">Submit</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</section>
{{ end }}