thrrgilag.net/themes/blackburn/layouts/partials/prev_next_post.html

32 lines
901 B
HTML
Raw Normal View History

2018-11-24 21:02:48 +00:00
{{ if or (.NextPage) (.PrevPage) }}
<div class="prev-next-post pure-g">
<div class="pure-u-1-24" style="text-align: left;">
{{ if .PrevInSection }}
<a href="{{ .PrevInSection.Permalink }}"><i class="fa fa-chevron-left"></i></a>
{{ end }}
</div>
<div class="pure-u-10-24">
{{ if .PrevInSection }}
<nav class="prev">
<a href="{{ .PrevInSection.Permalink }}">{{ .PrevInSection.Title }}</a>
</nav>
{{ end }}
</div>
<div class="pure-u-2-24">
&nbsp;
</div>
<div class="pure-u-10-24">
{{ if .NextInSection }}
<nav class="next">
<a href="{{ .NextInSection.Permalink }}">{{ .NextInSection.Title }}</a>
</nav>
{{ end }}
</div>
<div class="pure-u-1-24" style="text-align: right;">
{{ if .NextInSection }}
<a href="{{ .NextInSection.Permalink }}"><i class="fa fa-chevron-right"></i></a>
{{ end }}
</div>
</div>
{{ end }}