I didn’t really like the way Jekyll’s documentation went about building pagination links, mainly because it repeated the code necessary to render the button. That said I came up with the little snippet below that stores the proper URL using a Liquid capture tag then just plops it into the link, allowing you to only code your button once :)