2018-07-29 21:23:00 +00:00
|
|
|
{{ $enabledPostNavigation := .Site.Params.postNavigation | default true }}
|
|
|
|
{{ if $enabledPostNavigation }}
|
2018-07-23 02:15:56 +00:00
|
|
|
<div class="post--navigation post--navigation-single">
|
2018-07-29 21:41:49 +00:00
|
|
|
{{ with .PrevInSection }}
|
2018-07-23 02:15:56 +00:00
|
|
|
<a href="{{ .RelPermalink }}" class="post--navigation-prev">
|
|
|
|
<i aria-hidden="true" class="fa fa-chevron-left"></i>
|
2018-07-29 21:23:00 +00:00
|
|
|
<span class="navigation-tittle">{{ .Title }}</span>
|
2018-07-23 02:15:56 +00:00
|
|
|
</a>
|
2018-07-29 21:41:49 +00:00
|
|
|
{{ end }}
|
|
|
|
{{ with .NextInSection }}
|
2018-07-23 02:15:56 +00:00
|
|
|
<a href="{{ .RelPermalink }}" class="post--navigation-next">
|
2018-07-29 21:23:00 +00:00
|
|
|
<span class="navigation-tittle">{{ .Title }}</span>
|
2018-07-23 02:15:56 +00:00
|
|
|
<i aria-hidden="true" class="fa fa-chevron-right"></i>
|
|
|
|
</a>
|
2018-07-29 21:41:49 +00:00
|
|
|
{{ end }}
|
2018-07-20 20:32:00 +00:00
|
|
|
</div>
|
2018-07-29 21:23:00 +00:00
|
|
|
{{ end }}
|