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

github.com/dillonzq/LoveIt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/content/posts/theme-documentation-basics.zh-cn.md')
-rw-r--r--exampleSite/content/posts/theme-documentation-basics.zh-cn.md12
1 files changed, 8 insertions, 4 deletions
diff --git a/exampleSite/content/posts/theme-documentation-basics.zh-cn.md b/exampleSite/content/posts/theme-documentation-basics.zh-cn.md
index e3c719be..c1d086dc 100644
--- a/exampleSite/content/posts/theme-documentation-basics.zh-cn.md
+++ b/exampleSite/content/posts/theme-documentation-basics.zh-cn.md
@@ -228,9 +228,11 @@ hugo
contentLength = 4000
# 搜索框的占位提示语
placeholder = ""
- # 最大结果数目
+ # {{< version 0.2.1 >}} 最大结果数目
maxResultLength = 10
- # 搜索结果中高亮部分的 HTML 标签
+ # {{< version 0.2.3 >}} 结果内容片段长度
+ snippetLength = 50
+ # {{< version 0.2.1 >}} 搜索结果中高亮部分的 HTML 标签
highlightTag = "em"
[params.search.algolia]
index = ""
@@ -982,9 +984,11 @@ defaultContentLanguage = "zh-cn"
contentLength = 4000
# 搜索框的占位提示语
placeholder = ""
- # 最大结果数目
+ # {{< version 0.2.1 >}} 最大结果数目
maxResultLength = 10
- # 搜索结果中高亮部分的 HTML 标签
+ # {{< version 0.2.3 >}} 结果内容片段长度
+ snippetLength = 50
+ # {{< version 0.2.1 >}} 搜索结果中高亮部分的 HTML 标签
highlightTag = "em"
[params.search.algolia]
index = ""