Produce HTML suitable for the Bootstrap pagination component