footer_default.html 3.6 KB

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