HUGO

[OT] Why does my pagination look like this?

Screenshot from 2020-05-20 15-31-00

I have a homepage (using my own theme) that I want to display x number of blog posts on. I added the default hugo pagination template but it doesn’t look how I expected it to. Why do these links show up as list items instead of the usual view of side-by-side links?

Homepage html: https://pastebin.com/YpEibEFN

You have to add your CSS. With display: inline;

Have a look here: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_lists_horizontal