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 }}
{{end}}
{{ if or (eq .Kind "taxonomy") (eq .Kind "taxonomyTerm") }}
{{ if or (eq .Kind "taxonomy") (eq .Kind "term") }}
<ul>
{{ range .Pages }}
<li><a href="{{.RelPermalink}}">{{.Title}}</a></li>

View file

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