hugo-theme-paradox/layouts/partials/nav-section.html
2022-10-16 17:15:34 -05:00

10 lines
399 B
HTML

<nav class="section-nav">
<div class="container">
{{ with .PrevInSection }}
<a class="previous" href="{{.Permalink}}"><span class="arrow"></span><span class="text">Previous page:<br/>{{.Title}}</span></a>
{{ end }}
{{ with .NextInSection }}
<a class="next" href="{{.Permalink}}"><span class="text">Next page:<br/>{{.Title}}</span><span class="arrow"></span></a>
{{ end }}
</div>
</nav>