Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xiaoheiAh/hugo-theme-pure.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorholten <holten.ko@gmail.com>2019-11-20 12:13:19 +0300
committerholten <holten.ko@gmail.com>2019-11-20 12:13:19 +0300
commit859d238f82f7ee732b9b7dfb31e6891bd5a43955 (patch)
tree38fce69e3409f78909108f6895a683c385d4ddf4 /layouts
parente928c1029ff3056f150452b60e0b4ee23e663d8c (diff)
修复引用问题
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/script.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/script.html b/layouts/partials/script.html
index f0d3219..1a8ec85 100644
--- a/layouts/partials/script.html
+++ b/layouts/partials/script.html
@@ -28,7 +28,7 @@ hljs.initHighlightingOnLoad();
UNTITLED: '{{ T "insight_untitled"}}',
},
ROOT_URL: '{{ .Site.BaseURL }}',
- CONTENT_URL: '{{ print .Site.BaseURL "/searchindex.json" | safeURL }} ',
+ CONTENT_URL: '{{ "searchindex.json" | safeURL }} ',
};
window.INSIGHT_CONFIG = INSIGHT_CONFIG;
})(window);