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

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2020-05-01 18:54:29 +0300
committerGitHub <noreply@github.com>2020-05-01 18:54:29 +0300
commit971eff815c8c1826a50ef85954714a429b96e990 (patch)
tree8136cef397ee9250bcb77bbb100bd747ecae85c4 /exampleSite/config.toml
parente3e3bdf9ee64d8732216b2182ec2bac9f3d4e1e1 (diff)
feat(search): add absoluteURL config for search index (#302)
Diffstat (limited to 'exampleSite/config.toml')
-rw-r--r--exampleSite/config.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 7712f8c..9cb66a1 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -125,6 +125,8 @@ enableEmoji = true
snippetLength = 30
# HTML tag name of the highlight part in results
highlightTag = "em"
+ # whether to use the absolute URL based on the baseURL in search index
+ absoluteURL = false
[languages.en.params.search.algolia]
index = "index.en"
appID = "PASDMWALPK"
@@ -321,6 +323,8 @@ enableEmoji = true
snippetLength = 50
# 搜索结果中高亮部分的 HTML 标签
highlightTag = "em"
+ # 是否在搜索索引中使用基于 baseURL 的绝对路径
+ absoluteURL = false
[languages.zh-cn.params.search.algolia]
index = "index.zh-cn"
appID = "PASDMWALPK"
@@ -513,6 +517,8 @@ enableEmoji = true
snippetLength = 30
# HTML tag name of the highlight part in results
highlightTag = "em"
+ # whether to use the absolute URL based on the baseURL in search index
+ absoluteURL = false
[languages.fr.params.search.algolia]
index = "index.fr"
appID = "PASDMWALPK"