theme: Use full title in related content sidebar

If defined, params.altTitle will be used instead. This gives us some
flexibility.

Closes #2965
This commit is contained in:
Joe Mooring
2025-03-06 17:38:06 -08:00
committed by Joe Mooring
parent 4f4076364f
commit 03315336df
+1 -1
View File
@@ -14,7 +14,7 @@
<a
class="text-sm text-blue-600 hover:text-blue-500 dark:text-blue-500 dark:hover:text-blue-400"
href="{{ .RelPermalink }}"
>{{ .LinkTitle }}</a
>{{ or .Params.altTitle .Title }}</a
>
</li>
{{- end }}