File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/sigal/themes/photoswipe/templates Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 44{% block extra_head %}
55 < link rel ="stylesheet " href ="{{ theme.url }}/photoswipe.css ">
66 < script type ="module ">
7- import PhotoSwipeLightbox from '/static /photoswipe-lightbox.esm.min.js' ;
8- import PhotoSwipe from '/static /photoswipe.esm.min.js' ;
9- import PhotoSwipeDynamicCaption from '/static /photoswipe-dynamic-caption-plugin.esm.min.js' ;
10- import PhotoSwipeFullscreen from '/static /photoswipe-fullscreen.esm.min.js' ;
11- import PhotoSwipeVideoPlugin from '/static /photoswipe-video-plugin.esm.min.js' ;
7+ import PhotoSwipeLightbox from '{{ theme.url }} /photoswipe-lightbox.esm.min.js' ;
8+ import PhotoSwipe from '{{ theme.url }} /photoswipe.esm.min.js' ;
9+ import PhotoSwipeDynamicCaption from '{{ theme.url }} /photoswipe-dynamic-caption-plugin.esm.min.js' ;
10+ import PhotoSwipeFullscreen from '{{ theme.url }} /photoswipe-fullscreen.esm.min.js' ;
11+ import PhotoSwipeVideoPlugin from '{{ theme.url }} /photoswipe-video-plugin.esm.min.js' ;
1212
1313 const lightbox = new PhotoSwipeLightbox ( {
1414 gallery : '.gallery' ,
You can’t perform that action at this time.
0 commit comments