Only show title on terms pages if it is different than name.
This commit is contained in:
parent
bf092cc61e
commit
a1ff80176c
|
@ -6,7 +6,7 @@
|
|||
{{ $count := .Count }}
|
||||
{{- with $.GetPage (lower .Name) }}
|
||||
<li>
|
||||
<a href="{{ .RelPermalink }}"{{ if .Title }} title="{{ .Title }}"{{ end }}>{{ .Name }}</a>
|
||||
<a href="{{ .RelPermalink }}"{{ if ne .Title .Name }} title="{{ .Title }}"{{ end }}>{{ .Name }}</a>
|
||||
<span>({{ $count }})</span>
|
||||
</li>
|
||||
{{- end }}
|
||||
|
|
Reference in New Issue
Block a user