Use link title where possible

This commit is contained in:
Will Faught
2025-02-06 22:41:52 -08:00
parent ccadbf724d
commit dcbc7775ea
5 changed files with 19 additions and 19 deletions

View File

@@ -42,11 +42,11 @@
{{ if or $next $prev }}
<div id="paige-siblings">
{{ with $prev }}
<div class="paige-row-narrow text-center text-secondary" id="paige-next"><a class="link-secondary" href="{{ .Permalink }}">{{ .Title }}</a> &rsaquo;</div>
<div class="paige-row-narrow text-center text-secondary" id="paige-next"><a class="link-secondary" href="{{ .Permalink }}">{{ .LinkTitle }}</a> &rsaquo;</div>
{{ end }}
{{ with $next }}
<div class="paige-row-narrow text-center text-secondary" id="paige-prev">&lsaquo; <a class="link-secondary" href="{{ .Permalink }}">{{ .Title }}</a></div>
<div class="paige-row-narrow text-center text-secondary" id="paige-prev">&lsaquo; <a class="link-secondary" href="{{ .Permalink }}">{{ .LinkTitle }}</a></div>
{{ end }}
</div>
{{ end }}