I placed the Previous and Next buttons below the posts on both List template and Single page template.
The problem is that they don’t appear on the single post on a live site. They work fine on localhost, they are visible when I open the file from public folder locally, but on the live website those buttons are not visible on the single post page.
Any ideas?
Here’s the website - www.kilometarvise.com
(I am still trying to resolve the ssl certificate issue with Netlify)
This is my code, which works fine on List page template btw.
<div class="nav-links" style="padding:0;">
{{ if .PrevInSection }}
<a href="{{.PrevInSection.Permalink}}"><span class="arrow">←</span> Prethodni post</a>
{{ end }}
{{ if .NextInSection }}
<a href="{{.NextInSection.Permalink}}">Sledeći Post <span class="arrow">→</span></a>
{{ end }}
</div>