footer_html_file.go 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. package template
  2. var VarFooterHtmlFile = []byte(` </div>
  3. {{if or (eq $.Data.Module "index") (eq $.Data.Module "404") (eq $.Data.Module "blog") (eq $.Data.Module "blog-post") (eq $.Data.Module "blog-category")}}
  4. <div class="col-sm-5 col-md-4 col-lg-3">
  5. {{template "sidebar-right.html" .}}
  6. </div>
  7. {{end}}
  8. </div>
  9. </div>
  10. </div>
  11. </div>
  12. <footer class="bg-light py-4">
  13. <div class="container">
  14. <p class="m-0 text-center text-black">
  15. Your Website © {{if eq ($.Data.DateTimeFormat "2006") "2019"}}
  16. {{$.Data.DateTimeFormat "2006"}}
  17. {{else}}
  18. 2019-{{$.Data.DateTimeFormat "2006"}}
  19. {{end}}
  20. </p>
  21. </div>
  22. </footer>
  23. <!-- Optional JavaScript -->
  24. <!-- jQuery first, then Popper.js, then Bootstrap JS -->
  25. <script src="{{$.System.PathJsJquery}}"></script>
  26. <script src="{{$.System.PathJsPopper}}"></script>
  27. <script src="{{$.System.PathJsBootstrap}}"></script>
  28. <script src="{{$.System.PathJsLightGallery}}"></script>
  29. <!-- Template JavaScript file from template folder -->
  30. <script src="{{$.System.PathThemeScripts}}"></script>
  31. </body>
  32. </html>`)