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.
|
|
|
<script src="https://code.jquery.com/jquery-2.2.4.js"></script>
|
|
|
|
<script src="{{ .Site.BaseURL }}js/main.js"></script>
|
|
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/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 }}
|