diff options
author | holten <holten.ko@gmail.com> | 2019-11-20 12:13:19 +0300 |
---|---|---|
committer | holten <holten.ko@gmail.com> | 2019-11-20 12:13:19 +0300 |
commit | 859d238f82f7ee732b9b7dfb31e6891bd5a43955 (patch) | |
tree | 38fce69e3409f78909108f6895a683c385d4ddf4 /layouts | |
parent | e928c1029ff3056f150452b60e0b4ee23e663d8c (diff) |
修复引用问题
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/script.html | 2 |
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); |