Skip to content

Commit e3d774f

Browse files
authored
Merge pull request #303 from dillonzq/develop
2 parents bbea71f + 971eff8 commit e3d774f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+184
-175
lines changed

assets/css/_partial/_single/_toc.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@
5656
@include overflow-wrap(break-word);
5757
box-sizing: border-box;
5858
top: if($header-normal-mode-desktop, 5rem, 10rem);
59-
left: $MAX_LENGTH;
59+
left: 0;
60+
visibility: hidden;
6061

6162
@include blur;
6263

assets/js/theme.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/theme.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

exampleSite/config.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ enableEmoji = true
125125
snippetLength = 30
126126
# HTML tag name of the highlight part in results
127127
highlightTag = "em"
128+
# whether to use the absolute URL based on the baseURL in search index
129+
absoluteURL = false
128130
[languages.en.params.search.algolia]
129131
index = "index.en"
130132
appID = "PASDMWALPK"
@@ -321,6 +323,8 @@ enableEmoji = true
321323
snippetLength = 50
322324
# 搜索结果中高亮部分的 HTML 标签
323325
highlightTag = "em"
326+
# 是否在搜索索引中使用基于 baseURL 的绝对路径
327+
absoluteURL = false
324328
[languages.zh-cn.params.search.algolia]
325329
index = "index.zh-cn"
326330
appID = "PASDMWALPK"
@@ -513,6 +517,8 @@ enableEmoji = true
513517
snippetLength = 30
514518
# HTML tag name of the highlight part in results
515519
highlightTag = "em"
520+
# whether to use the absolute URL based on the baseURL in search index
521+
absoluteURL = false
516522
[languages.fr.params.search.algolia]
517523
index = "index.fr"
518524
appID = "PASDMWALPK"
@@ -729,6 +735,9 @@ enableEmoji = true
729735
# whether to show link to Raw Markdown content of the content
730736
# 是否显示原始 Markdown 文档内容的链接
731737
linkToMarkdown = true
738+
# whether to show the full text content in RSS
739+
# 是否在 RSS 中显示全文内容
740+
rssFullText = false
732741
# Table of the contents config
733742
# 目录配置
734743
[params.page.toc]

exampleSite/content/posts/basic-markdown-syntax.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ author: "Dillon"
88
authorLink: "https://dillonzq.com"
99
description: "This article shows the basic Markdown syntax and format."
1010

11-
tags: ["Markdown"]
11+
tags: ["Markdown", "HTML"]
1212
categories: ["Markdown"]
1313
featuredImage: "/images/basic-markdown-syntax/featured-image.png"
1414

exampleSite/content/posts/basic-markdown-syntax.fr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ author: "Dillon"
88
authorLink: "https://dillonzq.com"
99
description: "Cet article présente la syntaxe et le format de base de Markdown."
1010

11-
tags: ["Markdown"]
11+
tags: ["Markdown", "HTML"]
1212
categories: ["Markdown"]
1313
featuredImage: "/images/basic-markdown-syntax/featured-image.png"
1414

exampleSite/content/posts/basic-markdown-syntax.zh-cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ author: "Dillon"
88
authorLink: "https://dillonzq.com"
99
description: "这篇文章展示了基本的 Markdown 语法和格式."
1010

11-
tags: ["Markdown"]
11+
tags: ["Markdown", "HTML"]
1212
categories: ["Markdown"]
1313
featuredImage: "/images/basic-markdown-syntax/featured-image.png"
1414

exampleSite/content/posts/theme-documentation-basics.en.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ Please open the code block below to view the complete sample configuration :(far
231231
snippetLength = 30
232232
# {{< version 0.2.1 >}} HTML tag name of the highlight part in results
233233
highlightTag = "em"
234+
# {{< version 0.2.4 >}} whether to use the absolute URL based on the baseURL in search index
235+
absoluteURL = false
234236
[params.search.algolia]
235237
index = ""
236238
appID = ""
@@ -401,6 +403,8 @@ Please open the code block below to view the complete sample configuration :(far
401403
fontawesome = true
402404
# whether to show link to Raw Markdown content of the content
403405
linkToMarkdown = true
406+
# {{< version 0.2.4 >}} whether to show the full text content in RSS
407+
rssFullText = false
404408
# {{< version 0.2.0 >}} Table of the contents config
405409
[params.page.toc]
406410
# whether to enable the table of the contents
@@ -985,6 +989,8 @@ Here is the search configuration in your [site configuration](#site-configuratio
985989
snippetLength = 30
986990
# {{< version 0.2.1 >}} HTML tag name of the highlight part in results
987991
highlightTag = "em"
992+
# {{< version 0.2.4 >}} whether to use the absolute URL based on the baseURL in search index
993+
absoluteURL = false
988994
[params.search.algolia]
989995
index = ""
990996
appID = ""

exampleSite/content/posts/theme-documentation-basics.fr.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@ Please open the code block below to view the complete sample configuration :(far
236236
snippetLength = 30
237237
# {{< version 0.2.1 >}} HTML tag name of the highlight part in results
238238
highlightTag = "em"
239+
# {{< version 0.2.4 >}} whether to use the absolute URL based on the baseURL in search index
240+
absoluteURL = false
239241
[params.search.algolia]
240242
index = ""
241243
appID = ""
@@ -406,6 +408,8 @@ Please open the code block below to view the complete sample configuration :(far
406408
fontawesome = true
407409
# whether to show link to Raw Markdown content of the content
408410
linkToMarkdown = true
411+
# {{< version 0.2.4 >}} whether to show the full text content in RSS
412+
rssFullText = false
409413
# {{< version 0.2.0 >}} Table of the contents config
410414
[params.page.toc]
411415
# whether to enable the table of the contents
@@ -990,6 +994,8 @@ Here is the search configuration in your [site configuration](#site-configuratio
990994
snippetLength = 30
991995
# {{< version 0.2.1 >}} HTML tag name of the highlight part in results
992996
highlightTag = "em"
997+
# {{< version 0.2.4 >}} whether to use the absolute URL based on the baseURL in search index
998+
absoluteURL = false
993999
[params.search.algolia]
9941000
index = ""
9951001
appID = ""

exampleSite/content/posts/theme-documentation-basics.zh-cn.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,8 @@ hugo
234234
snippetLength = 50
235235
# {{< version 0.2.1 >}} 搜索结果中高亮部分的 HTML 标签
236236
highlightTag = "em"
237+
# {{< version 0.2.4 >}} 是否在搜索索引中使用基于 baseURL 的绝对路径
238+
absoluteURL = false
237239
[params.search.algolia]
238240
index = ""
239241
appID = ""
@@ -404,6 +406,8 @@ hugo
404406
fontawesome = true
405407
# 是否在文章页面显示原始 Markdown 文档链接
406408
linkToMarkdown = true
409+
# {{< version 0.2.4 >}} 是否在 RSS 中显示全文内容
410+
rssFullText = false
407411
# {{< version 0.2.0 >}} 目录配置
408412
[params.page.toc]
409413
# 是否使用目录
@@ -990,6 +994,8 @@ defaultContentLanguage = "zh-cn"
990994
snippetLength = 50
991995
# {{< version 0.2.1 >}} 搜索结果中高亮部分的 HTML 标签
992996
highlightTag = "em"
997+
# {{< version 0.2.4 >}} 是否在搜索索引中使用基于 baseURL 的绝对路径
998+
absoluteURL = false
993999
[params.search.algolia]
9941000
index = ""
9951001
appID = ""

0 commit comments

Comments
 (0)