move lightbox to importmap to it works everywhere

This commit is contained in:
Torsten
2023-02-02 13:05:17 +02:00
parent 79b58eb937
commit 7478c36108
5 changed files with 6 additions and 9 deletions

View File

@ -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({ });