testimonials.html 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {{ if isset .Site.Params "testimonials" }}
  2. {{ if .Site.Params.testimonials.enable }}
  3. {{ if gt (len .Site.Data.testimonials) 0 }}
  4. <section class="bar background-pentagon no-mb">
  5. <div class="container">
  6. <div class="row">
  7. <div class="col-md-12">
  8. <div class="heading text-center">
  9. <h2>{{ .Site.Params.testimonials.title }}</h2>
  10. </div>
  11. <p class="lead text-center" style="margin-bottom: 0;">
  12. 數位整合行銷
  13. </p>
  14. <p class="lead text-center">
  15. {{ .Site.Params.testimonials.subtitle | markdownify }}
  16. </p>
  17. <!-- *** TESTIMONIALS CAROUSEL *** -->
  18. <ul class="owl-carousel testimonials same-height-row">
  19. {{ range .Site.Data.testimonials }}
  20. <li class="item">
  21. <div class="testimonial same-height-always" style="height: 400px;">
  22. <div class="text">
  23. <h5 class="testimonial-title">{{ .name }}</h5>
  24. <p class="testimonial-text">{{ .text | markdownify }}</p>
  25. </div>
  26. <div class="testimonial_imgdiv">
  27. <img class="testimonial_img" alt="" src="{{ .avatar | absURL }}">
  28. </div>
  29. </div>
  30. </li>
  31. {{ end }}
  32. </ul>
  33. <!-- /.owl-carousel -->
  34. <!-- *** TESTIMONIALS CAROUSEL END *** -->
  35. </div>
  36. </div>
  37. <!-- <div class="testimonials__pro text-center">
  38. <p>馬上擁有自己的接單客服系統</p>
  39. </div> -->
  40. <div class="testimonials__goto__btn text-center" style="margin-top: 0rem;">
  41. <a href="https://docs.google.com/forms/d/e/1FAIpQLSeygs4xXy-Xxeh2w9rI4zuQNFutLP_71Bwxo5hqqs2Ca-u5VA/viewform" class="btn btn-lg">洽詢專案製作 -></a>
  42. </div>
  43. </div>
  44. </section>
  45. <!-- /.bar -->
  46. {{ end }}
  47. {{ end }}
  48. {{ end }}