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/content
parente3e3bdf9ee64d8732216b2182ec2bac9f3d4e1e1 (diff)
feat(search): add absoluteURL config for search index (#302)
Diffstat (limited to 'exampleSite/content')
-rw-r--r--exampleSite/content/posts/theme-documentation-basics.en.md4
-rw-r--r--exampleSite/content/posts/theme-documentation-basics.fr.md4
-rw-r--r--exampleSite/content/posts/theme-documentation-basics.zh-cn.md4
3 files changed, 12 insertions, 0 deletions
diff --git a/exampleSite/content/posts/theme-documentation-basics.en.md b/exampleSite/content/posts/theme-documentation-basics.en.md
index cc479b0..86f7deb 100644
--- a/exampleSite/content/posts/theme-documentation-basics.en.md
+++ b/exampleSite/content/posts/theme-documentation-basics.en.md
@@ -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 = ""
diff --git a/exampleSite/content/posts/theme-documentation-basics.fr.md b/exampleSite/content/posts/theme-documentation-basics.fr.md
index 45f1953..5749406 100644
--- a/exampleSite/content/posts/theme-documentation-basics.fr.md
+++ b/exampleSite/content/posts/theme-documentation-basics.fr.md
@@ -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 = ""
diff --git a/exampleSite/content/posts/theme-documentation-basics.zh-cn.md b/exampleSite/content/posts/theme-documentation-basics.zh-cn.md
index 76103d6..a280d9d 100644
--- a/exampleSite/content/posts/theme-documentation-basics.zh-cn.md
+++ b/exampleSite/content/posts/theme-documentation-basics.zh-cn.md
@@ -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 = ""