diff options
Diffstat (limited to 'tpl/objects')
-rw-r--r-- | tpl/objects/lightbox.pug | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tpl/objects/lightbox.pug b/tpl/objects/lightbox.pug index 633cf3f..58abdae 100644 --- a/tpl/objects/lightbox.pug +++ b/tpl/objects/lightbox.pug | |||
@@ -8,6 +8,9 @@ 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 | +action-button(round=true quiet=true icon='chevron-left' class='o-lightbox__nav-btn o-lightbox__nav-btn--prev') | ||
12 | +action-button(round=true quiet=true icon='chevron-right' class='o-lightbox__nav-btn o-lightbox__nav-btn--next') | ||
13 | |||
11 | img.o-lightbox__img.o-lightbox__img--default(src=images[0]) | 14 | img.o-lightbox__img.o-lightbox__img--default(src=images[0]) |
12 | if images.length > 1 | 15 | if images.length > 1 |
13 | +action-button(round=true quiet=true icon='chevron-left' class='o-lightbox__nav-btn o-lightbox__nav-btn--prev') | 16 | +action-button(round=true quiet=true icon='chevron-left' class='o-lightbox__nav-btn o-lightbox__nav-btn--prev') |