Skip to content

Commit

Permalink
Docs: 修改 lightgallery 使用说明
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Jul 23, 2024
1 parent 28a111f commit b91ca3f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -666,10 +666,12 @@ disableThemeInject = false
# whether to enable twemoji
# 是否使用 twemoji
twemoji = false
# whether to enable lightgallery
# FixIt 0.2.18 | CHANGED if set to "force", images in the content will be forced to shown as the gallery.
# 是否使用 lightgallery
# FixIt 0.2.18 | 更改 如果设为 "force",文章中的图片将强制按照画廊形式呈现
# FixIt 0.2.18 | CHANGED whether to enable lightgallery
# set to true, images in the content will be shown as the gallery if the image has a title, e.g. ![alt](src "title")
# set to "force", images in the content will be forced to shown as the gallery regardless of the image has a title or not, e.g. ![alt](src)
# FixIt 0.2.18 | 更改 是否使用 lightgallery
# 设为 true,且图片设置标题时,文章中的图片将以画廊形式呈现,例如:![alt](src "title")
# 设为 "force",无论图片是否设置标题文章中的图片都将强制按照画廊形式呈现,例如:![alt](src)
lightgallery = false
# whether to enable the ruby extended syntax
# 是否使用 ruby 扩展语法
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1147,8 +1147,9 @@ mDevtools
hiddenFromRelated = false
# whether to enable twemoji
twemoji = false
# whether to enable lightgallery
# {{< version 0.2.18 changed >}} if set to "force", images in the content will be forced to shown as the gallery.
# {{< version 0.2.18 changed >}} whether to enable lightgallery
# set to true, images in the content will be shown as the gallery if the image has a title, e.g. ![alt](src "title")
# set to "force", images in the content will be forced to shown as the gallery regardless of the image has a title or not, e.g. ![alt](src)
lightgallery = false
# whether to enable the ruby extended syntax
ruby = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1140,8 +1140,9 @@ mDevtools
hiddenFromRelated = false
# 是否使用 twemoji
twemoji = false
# 是否使用 lightgallery
# {{< version 0.2.18 changed >}} 如果设为 "force",文章中的图片将强制按照画廊形式呈现
# {{< version 0.2.18 changed >}} 是否使用 lightgallery
# 设为 true,图片设置标题时,文章中的图片将以画廊形式呈现,例如:![alt](src "title")
# 设为 "force",无论图片是否设置标题文章中的图片都将强制按照画廊形式呈现,例如:![alt](src)
lightgallery = false
# 是否使用 ruby 扩展语法
ruby = true
Expand Down

0 comments on commit b91ca3f

Please sign in to comment.