% if (paginate.hasPrevPage || paginate.hasNextPage) { %> <% const queryParams = Object.assign({}, req.query, { currPageTop: paginate.top, currPageBottom: paginate.bottom }); %>