mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
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:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user