You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
804 B
HTML
26 lines
804 B
HTML
<script src="{{ .Site.BaseURL }}js/jquery-3.3.1.min.js"></script>
|
|
<script src="{{ .Site.BaseURL }}js/main.js"></script>
|
|
<script src="{{ .Site.BaseURL }}js/highlight.min.js"></script>
|
|
<script>hljs.initHighlightingOnLoad();</script>
|
|
|
|
{{ range .Site.Params.customJS }}
|
|
<script src="{{ $.Site.BaseURL }}{{ . }}"></script>
|
|
{{ end }}
|
|
|
|
{{ if .Site.Params.enableGoogleAnalytics }}
|
|
{{ template "_internal/google_analytics.html" . }}
|
|
{{ end }}
|
|
|
|
{{ if .Site.Params.enableBaiduAnalytics }}
|
|
<script>
|
|
var baiduAnalytics = '{{ .Site.Params.baiduAnalytics }}';
|
|
var _hmt = _hmt || [];
|
|
(function() {
|
|
var hm = document.createElement("script");
|
|
hm.src = "https://hm.baidu.com/hm.js?" + baiduAnalytics;
|
|
var s = document.getElementsByTagName("script")[0];
|
|
s.parentNode.insertBefore(hm, s);
|
|
})();
|
|
</script>
|
|
{{ end }}
|