Manage displayed photos via the API
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Define limits (for homepage carousel and photos per page on a place) in the site settings via a slider
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
/*
|
||||
** Pagination
|
||||
*/
|
||||
let photosPerPage = 2 // 12
|
||||
let photosPerPage = $site.photos_per_page
|
||||
let currentIndex = photosPerPage
|
||||
|
||||
// Hide photos by default
|
||||
|
||||
Reference in New Issue
Block a user