This repository has been archived on 2020-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
2020-02-02 10:11:07 +00:00
|
|
|
{{ if .Param "post_navigation" }}
|
|
|
|
{{ if or (.PrevInSection) (.NextInSection) }}
|
2019-09-03 15:50:00 +00:00
|
|
|
<nav class="post-nav">
|
2020-04-20 17:47:36 +00:00
|
|
|
{{ with .PrevInSection }}
|
2019-09-03 15:50:00 +00:00
|
|
|
<div class="item item--prev">
|
2020-05-05 17:07:30 +00:00
|
|
|
<a class="link" href="{{.RelPermalink}}" rel="prev"><span class="caption">{{ T "post_nav_prev" }}</span><p class="post-title">{{ with .Title }}{{ . }}{{ else }}{{ .Summary | truncate 60 }}{{ end }}</p></a>
|
2019-09-03 15:50:00 +00:00
|
|
|
</div>
|
2020-02-02 10:11:07 +00:00
|
|
|
{{ end }}
|
2020-04-20 17:47:36 +00:00
|
|
|
{{ with .NextInSection }}
|
2019-09-03 15:50:00 +00:00
|
|
|
<div class="item item--next">
|
2020-05-05 17:07:30 +00:00
|
|
|
<a class="link" href="{{.RelPermalink}}" rel="next"><span class="caption">{{ T "post_nav_next" }}</span><p class="post-title">{{ with .Title }}{{ . }}{{ else }}{{ .Summary | truncate 60 }}{{ end }}</p></a>
|
2019-09-03 15:50:00 +00:00
|
|
|
</div>
|
2020-02-02 10:11:07 +00:00
|
|
|
{{ end }}
|
2019-09-03 15:50:00 +00:00
|
|
|
</nav>
|
2020-02-02 10:11:07 +00:00
|
|
|
{{ end }}
|
2019-10-09 18:35:33 +00:00
|
|
|
{{ partial "related.html" . }}
|
2020-02-02 10:11:07 +00:00
|
|
|
{{ end }}
|