logo和配置修改
This commit is contained in:
@@ -151,22 +151,5 @@
|
||||
</main>
|
||||
{{template "footer" .}}
|
||||
<script defer src="/static/js/pages/mobileSearch.js?v=2"></script>
|
||||
<script>
|
||||
(function () {
|
||||
var keyword = {{jsonStr .query}};
|
||||
var reported = false;
|
||||
function reportSearch() {
|
||||
if (reported || !keyword || !window.tracker || typeof window.tracker.keywordSearch !== "function") return;
|
||||
reported = true;
|
||||
window.tracker.keywordSearch({
|
||||
keyword: keyword,
|
||||
search_result_count: {{if .totalCount}}{{.totalCount}}{{else}}0{{end}},
|
||||
search_content_type: "playlet",
|
||||
});
|
||||
}
|
||||
reportSearch();
|
||||
if (!reported) window.addEventListener("tracker:ready", reportSearch, { once: true });
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user