Bootstrap pagination - auto_links

Just noticed that the {{ auto_links }} tag currently outputs outdated bootstrap code. (not bootstrap 4)

"The auto_links tag is designed to be your friend. It’ll save you more than a few keystrokes, and even more headaches. It’ll output a Twitter Bootstrap-ready list of links for you."

The updated pagination requires classes added to the lists and links.

I just added the full code and customized as needed.

Also, it took me a while to find that I could customize the <a href="{{ prev_page }}> links with anchors like this: <a href="{{ prev_page }}#reviews">

Hope this helps someone else working on pagination, too.

>>>>>>> Unanswered <<<<<<<
1 Reply