mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
d409a1ba58
Short-form posts for microblogging. TODO: implement POSSE.
18 lines
547 B
HTML
18 lines
547 B
HTML
{{ $name := "post" -}}
|
|
{{- if eq .Page.Section "notes" -}}
|
|
{{- $name = "note" -}}
|
|
{{- end -}}
|
|
<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 }}
|
|
<li>Next {{ $name }}: <a href="{{ .Permalink }}" rel="next">{{ .Title }}</a></li>
|
|
{{- end }}
|
|
</ul>
|
|
</nav>
|
|
<p role="separator">That's all, folks.</p>
|
|
</aside>
|