diff --git a/app/config.json b/app/config.json index 2e7c744..e8108a5 100644 --- a/app/config.json +++ b/app/config.json @@ -20,6 +20,7 @@ "lightGallery": { "controls": true, "download": true, + "customSlideName": true, "mobileSettings": { "controls": false, "showCloseIcon": true, diff --git a/app/src/render.ts b/app/src/render.ts index 48a9c9a..bf735b6 100644 --- a/app/src/render.ts +++ b/app/src/render.ts @@ -141,7 +141,7 @@ class Render { video ? ``, + ` data-download="${this.getFilename(asset)}" data-slide-name="${asset.id}">`, video ? '
' : '', '
' ].join('')