chore(lib): update lightgallery 1.2.0 -> 2.4.0

This commit is contained in:
Dillon
2022-05-12 05:35:34 +08:00
parent 5e9c5f6417
commit 8a9df9b02f
28 changed files with 90 additions and 60 deletions

View File

@@ -129,7 +129,7 @@ This is a **right-aligned** paragraph.
{{< version 0.2.0 changed >}}
`image` shortcode 是 [`figure` shortcode](../theme-documentation-built-in-shortcodes#figure) 的替代. `image` shortcode 可以充分利用 [lazysizes](https://github.com/aFarkas/lazysizes) 和 [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js) 两个依赖库.
`image` shortcode 是 [`figure` shortcode](../theme-documentation-built-in-shortcodes#figure) 的替代. `image` shortcode 可以充分利用 [lazysizes](https://github.com/aFarkas/lazysizes) 和 [lightGallery](https://github.com/sachinchoolur/lightgallery) 两个依赖库.
{{< version 0.2.10 >}} 支持[本地资源引用](../theme-documentation-content#contents-organization)的完整用法.