mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-11 03:13:30 +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:
1 parent
4f4076364f
commit
03315336df
1 file changed
+1
-1
@@ -14,7 +14,7 @@
|
|||||||
<a
|
<a
|
||||||
class="text-sm text-blue-600 hover:text-blue-500 dark:text-blue-500 dark:hover:text-blue-400"
|
class="text-sm text-blue-600 hover:text-blue-500 dark:text-blue-500 dark:hover:text-blue-400"
|
||||||
href="{{ .RelPermalink }}"
|
href="{{ .RelPermalink }}"
|
||||||
>{{ .LinkTitle }}</a
|
>{{ or .Params.altTitle .Title }}</a
|
||||||
>
|
>
|
||||||
</li>
|
</li>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
Reference in new issue
Block a user