hugo-theme-hyde-hyde/layouts/partials/post-meta-after.html
2018-07-22 21:34:01 +10:00

22 lines
733 B
HTML

<div>
<ul class="post__nav">
<li class="post__nav--next">
{{ with .NextInSection -}}
<a href="{{ .RelPermalink }}">
<span class="next__heading">NEXT</span>
<span>{{ .Title }}</span>
</a>
<i class="fas fa-chevron-right"></i>
{{- end }}
</li>
<li class="post__nav--previous">
{{ with .PrevInSection -}}
<span class="previous__heading">PREVIOUS</span>
<i class="fas fa-chevron-left"></i>
<a href="{{ .RelPermalink }}">
<span class="previous__title">{{ .Title }}</span>
</a>
{{- end }}
</li>
</ul>
</div>