Skip to content

Commit a7a2954

Browse files
authored
fix: change taxonomy term and use taxonomy name (#444)
@see sjroe@bf74d9e
1 parent eb80a17 commit a7a2954

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

layouts/_default/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{{ .Content }}
55
{{end}}
66

7-
{{ if or (eq .Kind "taxonomy") (eq .Kind "taxonomyTerm") }}
7+
{{ if or (eq .Kind "taxonomy") (eq .Kind "term") }}
88
<ul>
99
{{ range .Pages }}
1010
<li><a href="{{.RelPermalink}}">{{.Title}}</a></li>

layouts/partials/header.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@
9393
<div id="body-inner">
9494
{{if and (not .IsHome) (not .Params.chapter) }}
9595
<h1>
96-
{{ if eq .Kind "taxonomy" }}
97-
{{.Kind}} ::
96+
{{ if or (eq .Kind "taxonomy") (eq .Kind "term") }}
97+
{{.Data.Singular}} ::
9898
{{ end }}
9999
{{.Title}}
100100
</h1>

0 commit comments

Comments
 (0)