footer.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <script src="{{site.baseurl}}/assets/gitbook/gitbook.js"></script>
  2. <script src="{{site.baseurl}}/assets/gitbook/theme.js"></script>
  3. <script src="{{site.baseurl}}/assets/gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
  4. <script src="{{site.baseurl}}/assets/gitbook/gitbook-plugin-sharing/buttons.js"></script>
  5. <!-- <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
  6. <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
  7. <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
  8. <script src="../gitbook/gitbook-plugin-search/search.js"></script> -->
  9. <script src="{{site.baseurl}}/assets/gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
  10. <script src="{{site.baseurl}}/assets/gitbook/gitbook-plugin-search-pro/search.js"></script>
  11. <script src="{{site.baseurl}}/assets/gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
  12. {% if site.extra_footer_js %}
  13. {%- for extra_js in site.extra_header_js -%}
  14. {%- assign starts_with = extra_js | slice: 0,4 -%}
  15. {% if starts_with == "http" %}
  16. <script src="{{ extra_js }}"></script>
  17. {%- else -%}
  18. <script src="{{site.baseurl}}/{{ extra_js }}"></script>
  19. {%- endif -%}
  20. {%- endfor -%}
  21. {% endif %}
  22. {%- if site.tracker -%}
  23. <!-- trackers -->
  24. {%- if site.tracker.google_analytics -%}
  25. <!-- google analytics -->
  26. {%- include google-analytics.html -%}
  27. {%- endif -%}
  28. {%- if site.tracker.cnzz -%}
  29. <!-- cnzz -->
  30. {%- include cnzz.html -%}
  31. {%- endif -%}
  32. {%- endif -%}