summaryrefslogtreecommitdiffstats
path: root/tpl
diff options
context:
space:
mode:
Diffstat (limited to 'tpl')
-rw-r--r--tpl/objects/lightbox.pug1
1 files changed, 1 insertions, 0 deletions
diff --git a/tpl/objects/lightbox.pug b/tpl/objects/lightbox.pug
index 5091565..633cf3f 100644
--- a/tpl/objects/lightbox.pug
+++ b/tpl/objects/lightbox.pug
@@ -8,6 +8,7 @@ mixin lightbox(images)
8 +action-button(round=true quiet=true icon='x' class='o-lightbox__close-btn') 8 +action-button(round=true quiet=true icon='x' class='o-lightbox__close-btn')
9 each img, i in images 9 each img, i in images
10 img.o-lightbox__img(src=images[i] id='image-' + i) 10 img.o-lightbox__img(src=images[i] id='image-' + i)
11 img.o-lightbox__img.o-lightbox__img--default(src=images[0])
11 if images.length > 1 12 if images.length > 1
12 +action-button(round=true quiet=true icon='chevron-left' class='o-lightbox__nav-btn o-lightbox__nav-btn--prev') 13 +action-button(round=true quiet=true icon='chevron-left' class='o-lightbox__nav-btn o-lightbox__nav-btn--prev')
13 +action-button(round=true quiet=true icon='chevron-right' class='o-lightbox__nav-btn o-lightbox__nav-btn--next') 14 +action-button(round=true quiet=true icon='chevron-right' class='o-lightbox__nav-btn o-lightbox__nav-btn--next')