Skip to content

Commit

Permalink
[WIP] chore(lib): Upgrade lightgallery to 2.1.8
Browse files Browse the repository at this point in the history
Signed-off-by: Khusika Dhamar Gusti <[email protected]>
  • Loading branch information
Khusika Dhamar Gusti committed Jul 23, 2021
1 parent 7a2c0a3 commit 70dae78
Show file tree
Hide file tree
Showing 10 changed files with 37 additions and 33 deletions.
12 changes: 5 additions & 7 deletions assets/data/cdn/jsdelivr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,11 @@ libFiles:
objectFitImagesJS: [email protected]/dist/ofi.min.js
# [email protected] https://github.com/twitter/twemoji
twemojiJS: [email protected]/dist/twemoji.min.js
# [email protected] https://github.com/sachinchoolur/lightgallery.js
# [email protected] https://github.com/sachinchoolur/lg-thumbnail.js
# [email protected] https://github.com/sachinchoolur/lg-zoom.js
lightgalleryCSS: [email protected]/dist/css/lightgallery.min.css
lightgalleryJS: [email protected]/dist/js/lightgallery.min.js
lightgalleryThumbnailJS: [email protected]/dist/lg-thumbnail.min.js
lightgalleryZoomJS: [email protected]/dist/lg-zoom.min.js
# [email protected] https://github.com/sachinchoolur/lightGallery/
lightgalleryCSS: [email protected]/css/lightgallery-bundle.min.css
lightgalleryJS: [email protected]/lightgallery.min.js
lightgalleryThumbnailJS: [email protected]/plugins/thumbnail/lg-thumbnail.min.js
lightgalleryZoomJS: [email protected]/plugins/zoom/lg-zoom.min.js
# [email protected] https://github.com/zenorocha/clipboard.js
clipboardJS: [email protected]/dist/clipboard.min.js
# [email protected] https://github.com/ellisonleao/sharer.js
Expand Down
13 changes: 7 additions & 6 deletions assets/lib/lightgallery/lg-thumbnail.min.js

Large diffs are not rendered by default.

13 changes: 7 additions & 6 deletions assets/lib/lightgallery/lg-zoom.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/lib/lightgallery/lightgallery-bundle.min.css

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion assets/lib/lightgallery/lightgallery.min.css

This file was deleted.

13 changes: 7 additions & 6 deletions assets/lib/lightgallery/lightgallery.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion layouts/partials/assets.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
{{- if .IsPage -}}
{{- /* lightgallery.js */ -}}
{{- if $params.lightgallery -}}
{{- $source := $cdn.lightgalleryCSS | default "lib/lightgallery/lightgallery.min.css" -}}
{{- $source := $cdn.lightgalleryCSS | default "lib/lightgallery/lightgallery-bundle.min.css" -}}
{{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/style.html" -}}
{{- $source := $cdn.lightgalleryJS | default "lib/lightgallery/lightgallery.min.js" -}}
{{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}}
Expand Down
15 changes: 9 additions & 6 deletions static/lib/fonts/lg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/lib/fonts/lg.ttf
Binary file not shown.
Binary file modified static/lib/fonts/lg.woff
Binary file not shown.

0 comments on commit 70dae78

Please sign in to comment.