move lightbox to importmap to it works everywhere
This commit is contained in:
@ -1,5 +1,3 @@
|
||||
%link{:href => "https://cdn.jsdelivr.net/npm/glightbox/dist/css/glightbox.min.css", :rel => "stylesheet"}/
|
||||
%script{:src => "https://cdn.jsdelivr.net/gh/mcstudios/glightbox/dist/js/glightbox.min.js"}
|
||||
|
||||
= paginate @pictures
|
||||
|
||||
@ -18,4 +16,3 @@
|
||||
New Picture
|
||||
|
||||
:javascript
|
||||
const lightbox = GLightbox({ });
|
||||
|
Reference in New Issue
Block a user