🐛 Fixed the local search engine can't find indexes file & repose error link of article.
This commit is contained in:
parent
9bde077b0b
commit
f1fafdc587
@ -958,7 +958,7 @@ params:
|
|||||||
enable: true
|
enable: true
|
||||||
# 搜索索引文件路径
|
# 搜索索引文件路径
|
||||||
# Indexes file path for search
|
# Indexes file path for search
|
||||||
path: searchindexes.xml
|
path: /searchindexes.xml
|
||||||
# 是立即搜索当输入关键字时,可选值: auto | manual
|
# 是立即搜索当输入关键字时,可选值: auto | manual
|
||||||
# If auto, trigger search by changing input.
|
# If auto, trigger search by changing input.
|
||||||
# If manual, trigger search by pressing enter key or search button.
|
# If manual, trigger search by pressing enter key or search button.
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
{{range where .Site.RegularPages "Kind" "page"}}
|
{{range where .Site.RegularPages "Kind" "page"}}
|
||||||
<entry>
|
<entry>
|
||||||
<title>{{ .Title }}</title>
|
<title>{{ .Title }}</title>
|
||||||
<url>{{ .Permalink }}</url>
|
<url>{{ .RelPermalink | relLangURL }}</url>
|
||||||
<categories>
|
<categories>
|
||||||
{{- range .Params.categories }}<category>{{ . }}</category>{{- end }}
|
{{- range .Params.categories }}<category>{{ . }}</category>{{- end }}
|
||||||
</categories>
|
</categories>
|
||||||
|
Loading…
Reference in New Issue
Block a user