fix: change taxonomy term and use taxonomy name (#444)

@see bf74d9e81c
This commit is contained in:
Gaetan BOGAERT 2020-09-10 18:59:18 +02:00 committed by GitHub
parent eb80a1788b
commit a7a29541f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@
{{ .Content }} {{ .Content }}
{{end}} {{end}}
{{ if or (eq .Kind "taxonomy") (eq .Kind "taxonomyTerm") }} {{ if or (eq .Kind "taxonomy") (eq .Kind "term") }}
<ul> <ul>
{{ range .Pages }} {{ range .Pages }}
<li><a href="{{.RelPermalink}}">{{.Title}}</a></li> <li><a href="{{.RelPermalink}}">{{.Title}}</a></li>

View file

@ -93,8 +93,8 @@
<div id="body-inner"> <div id="body-inner">
{{if and (not .IsHome) (not .Params.chapter) }} {{if and (not .IsHome) (not .Params.chapter) }}
<h1> <h1>
{{ if eq .Kind "taxonomy" }} {{ if or (eq .Kind "taxonomy") (eq .Kind "term") }}
{{.Kind}} :: {{.Data.Singular}} ::
{{ end }} {{ end }}
{{.Title}} {{.Title}}
</h1> </h1>