#57 Optional template for pagination

I just added the optional template pagination