您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {{ if .Site.Data.contact.enable }}
  2. {{"<!-- Srart Contact Us -->" | safeHTML}}
  3. <section id="contact-us" class="contact-us section-bg">
  4. <div class="container">
  5. <div class="row">
  6. {{"<!-- section title -->" | safeHTML}}
  7. <div class="title text-center wow fadeIn" data-wow-duration="500ms">
  8. <h2>{{ with .Site.Data.contact.heading }} {{ . }} {{ end }} <span class="color">{{ with .Site.Data.contact.heading }} {{ . }} {{ end }}</span></h2>
  9. <div class="border"></div>
  10. </div>
  11. {{"<!-- /section title -->" | safeHTML}}
  12. {{"<!-- Contact Details -->" | safeHTML}}
  13. <div class="contact-info col-md-6 wow fadeInUp" data-wow-duration="500ms">
  14. {{ with .Site.Data.contact.title }}<h3>{{ . }}</h3> {{ end }}
  15. {{ with .Site.Data.contact.content }} <p> {{ . }} </p> {{ end }}
  16. <div class="contact-details">
  17. {{ range .Site.Data.contact.contactDetails }}
  18. <div class="con-info clearfix">
  19. <i class="{{ .icon }}"></i>
  20. <span>{{ .info }}</span>
  21. </div>
  22. {{ end }}
  23. </div>
  24. </div>
  25. {{"<!-- Contact Form -->" | safeHTML}}
  26. <div class="contact-form col-md-6 wow fadeInUp" data-wow-duration="500ms" data-wow-delay="300ms">
  27. <form id="contact-form" method="post" action="sendmail.php" role="form">
  28. <div class="form-group">
  29. <input type="text" placeholder="Your Name" class="form-control" name="name" id="name">
  30. </div>
  31. <div class="form-group">
  32. <input type="email" placeholder="Your Email" class="form-control" name="email" id="email">
  33. </div>
  34. <div class="form-group">
  35. <input type="text" placeholder="Subject" class="form-control" name="subject" id="subject">
  36. </div>
  37. <div class="form-group">
  38. <textarea rows="6" placeholder="Message" class="form-control" name="message" id="message"></textarea>
  39. </div>
  40. <div id="mail-success" class="success">
  41. Thank you. The Mailman is on His Way :)
  42. </div>
  43. <div id="mail-fail" class="error">
  44. Sorry, don't know what happened. Try later :(
  45. </div>
  46. <div id="cf-submit">
  47. <input type="submit" id="contact-submit" class="btn btn-transparent" value="Submit">
  48. </div>
  49. </form>
  50. </div>
  51. </div>
  52. </div>
  53. {{"<!-- Google Map -->" | safeHTML}}
  54. <div class="google-map">
  55. <div id="map-canvas" {{ with .Site.Data.contact.mapLatitude }} data-latitude="{{ . }}" {{ end }}
  56. {{ with .Site.Data.contact.mapLongitude }} data-longitude="{{ . }}" {{ end }}></div>
  57. </div>
  58. </section>
  59. {{"<!-- /contact -->" | safeHTML}}
  60. {{ end }}