feat(search): add absoluteURL config for search index (#302)
This commit is contained in:
@@ -231,6 +231,8 @@ Please open the code block below to view the complete sample configuration :(far
|
||||
snippetLength = 30
|
||||
# {{< version 0.2.1 >}} HTML tag name of the highlight part in results
|
||||
highlightTag = "em"
|
||||
# {{< version 0.2.4 >}} whether to use the absolute URL based on the baseURL in search index
|
||||
absoluteURL = false
|
||||
[params.search.algolia]
|
||||
index = ""
|
||||
appID = ""
|
||||
@@ -987,6 +989,8 @@ Here is the search configuration in your [site configuration](#site-configuratio
|
||||
snippetLength = 30
|
||||
# {{< version 0.2.1 >}} HTML tag name of the highlight part in results
|
||||
highlightTag = "em"
|
||||
# {{< version 0.2.4 >}} whether to use the absolute URL based on the baseURL in search index
|
||||
absoluteURL = false
|
||||
[params.search.algolia]
|
||||
index = ""
|
||||
appID = ""
|
||||
|
||||
@@ -236,6 +236,8 @@ Please open the code block below to view the complete sample configuration :(far
|
||||
snippetLength = 30
|
||||
# {{< version 0.2.1 >}} HTML tag name of the highlight part in results
|
||||
highlightTag = "em"
|
||||
# {{< version 0.2.4 >}} whether to use the absolute URL based on the baseURL in search index
|
||||
absoluteURL = false
|
||||
[params.search.algolia]
|
||||
index = ""
|
||||
appID = ""
|
||||
@@ -992,6 +994,8 @@ Here is the search configuration in your [site configuration](#site-configuratio
|
||||
snippetLength = 30
|
||||
# {{< version 0.2.1 >}} HTML tag name of the highlight part in results
|
||||
highlightTag = "em"
|
||||
# {{< version 0.2.4 >}} whether to use the absolute URL based on the baseURL in search index
|
||||
absoluteURL = false
|
||||
[params.search.algolia]
|
||||
index = ""
|
||||
appID = ""
|
||||
|
||||
@@ -234,6 +234,8 @@ hugo
|
||||
snippetLength = 50
|
||||
# {{< version 0.2.1 >}} 搜索结果中高亮部分的 HTML 标签
|
||||
highlightTag = "em"
|
||||
# {{< version 0.2.4 >}} 是否在搜索索引中使用基于 baseURL 的绝对路径
|
||||
absoluteURL = false
|
||||
[params.search.algolia]
|
||||
index = ""
|
||||
appID = ""
|
||||
@@ -992,6 +994,8 @@ defaultContentLanguage = "zh-cn"
|
||||
snippetLength = 50
|
||||
# {{< version 0.2.1 >}} 搜索结果中高亮部分的 HTML 标签
|
||||
highlightTag = "em"
|
||||
# {{< version 0.2.4 >}} 是否在搜索索引中使用基于 baseURL 的绝对路径
|
||||
absoluteURL = false
|
||||
[params.search.algolia]
|
||||
index = ""
|
||||
appID = ""
|
||||
|
||||
Reference in New Issue
Block a user