gathered the pagination-related code together for clarity
gathered the pagination-related code together for clarity

jcarlosmayo/jcarlosmayo.github.io,jcarlosmayo/jcarlosmayo.github.io,jcarlosmayo/jcarlosmayo.github.io