2022-05-24 23:33:16 +00:00
|
|
|
{{ $name := "post" -}}
|
|
|
|
{{- if eq .Page.Section "notes" -}}
|
|
|
|
{{- $name = "note" -}}
|
|
|
|
{{- end -}}
|
2022-05-19 00:21:48 +00:00
|
|
|
<aside aria-labelledby="continue-hd">
|
|
|
|
<nav aria-labelledby="continue-hd">
|
|
|
|
<h2 id="continue-hd">Continue reading</h2>
|
|
|
|
<ul>
|
|
|
|
{{- with .PrevInSection }}
|
|
|
|
<li>Previous post: <a href="{{ .Permalink }}" rel="prev">{{ .Title }}</a></li>
|
|
|
|
{{- end -}}
|
|
|
|
{{- with .NextInSection }}
|
2022-05-24 23:33:16 +00:00
|
|
|
<li>Next {{ $name }}: <a href="{{ .Permalink }}" rel="next">{{ .Title }}</a></li>
|
2022-05-19 00:21:48 +00:00
|
|
|
{{- end }}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
<p role="separator">That's all, folks.</p>
|
|
|
|
</aside>
|