footer.html 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <footer id="footer">
  2. <div class="container container__footer">
  3. {{ if isset .Site.Params "about_us" }}
  4. <div class="col-md-4 col-sm-6">
  5. <h4>{{ i18n "aboutUs" }}</h4>
  6. {{ .Site.Params.about_us | safeHTML }}
  7. <div class="followus">
  8. <span class="followus__txt">關注我們</span>
  9. <a href="https://www.youtube.com/channel/UCi3jHOCCmx0Zyl2ZvoHzHQg" class="followus__img"><img src="img/youtube.png" alt=""></a>
  10. <a href="">訂閱電子報<i class="fas fa-envelope"></i></a>
  11. </div>
  12. <hr class="hidden-md hidden-lg hidden-sm">
  13. </div>
  14. <!-- /.col-md-4 -->
  15. {{ end }}
  16. <div class="col-md-4 col-sm-6">
  17. <div>
  18. <p class="footer__btn__text">想洽詢我們的專案製作嗎?</p>
  19. <a href="" class="btn btn-lg">洽詢專案製作</a>
  20. </div>
  21. {{ if isset .Site.Params "recent_posts" }} {{ if .Site.Params.recent_posts.enable }}
  22. <h4>{{ i18n "recentPosts" }}</h4>
  23. <div class="blog-entries">
  24. {{ range first 3 (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
  25. <div class="item same-height-row clearfix">
  26. <div class="image same-height-always">
  27. <a href="{{ .Permalink }}">
  28. {{ if isset .Params "banner" }}
  29. <img src="{{ .Params.banner | relURL }}" class="img-responsive" alt="{{ .Title }}">
  30. {{ else }}
  31. <img src="{{ "img/placeholder.png" | relURL }}" class="img-responsive" alt="{{ .Title }}">
  32. {{ end }}
  33. </a>
  34. </div>
  35. <div class="name same-height-always">
  36. <h5><a href="{{ .Permalink }}">{{ .Title }}</a></h5>
  37. </div>
  38. </div>
  39. {{ end }}
  40. </div>
  41. <hr class="hidden-md hidden-lg">
  42. {{ end }} {{ end }}
  43. </div>
  44. <!-- /.col-md-4 -->
  45. {{ if isset .Site.Params "address" }}
  46. <div class="col-md-4 col-sm-6">
  47. <h4>{{ i18n "contactTitle" }}</h4>
  48. {{ .Site.Params.address | safeHTML }}
  49. <!-- <a href="/contact" class="btn btn-small btn-template-main">{{ i18n "contactGoTo" }}</a> -->
  50. <hr class="hidden-md hidden-lg hidden-sm">
  51. </div>
  52. <!-- /.col-md-4 -->
  53. {{ end }}
  54. </div>
  55. <!-- /.container -->
  56. </footer>
  57. <!-- /#footer -->
  58. <!-- *** FOOTER END *** -->
  59. <!-- *** COPYRIGHT ***
  60. _________________________________________________________ -->
  61. <div id="copyright">
  62. <div class="container">
  63. <div class="col-md-12">
  64. {{ if isset .Site.Params "copyright" }}
  65. <p class="pull-left">{{ .Site.Params.copyright | safeHTML }}</p>
  66. {{ end }}
  67. <p class="pull-right">
  68. {{ i18n "templateBy" | markdownify }} <a href="https://bootstrapious.com/p/universal-business-e-commerce-template">Bootstrapious</a>.
  69. <!-- Not removing this link is part of the licence conditions of the template. Thanks for understanding :) -->
  70. {{ i18n "portedBy" | markdownify }} <a href="https://github.com/devcows/hugo-universal-theme">DevCows</a>.
  71. </p>
  72. </div>
  73. </div>
  74. </div>
  75. <!-- /#copyright -->
  76. <!-- *** COPYRIGHT END *** -->