Commit 41066046 authored by Laura Kalbag's avatar Laura Kalbag
Browse files

Fix list title to show taxonomy term

Fixes #154
parent 12ae0ec4
......@@ -2,6 +2,6 @@
{{- /* don’t display a title on the homepage */ -}}
{{- if .IsHome }}{{- else }}
<h1 class='{{ partial "classnames/title.html" . }}'>
{{if eq .Kind "taxonomy"}}{{ .Data.Singular | humanize }}: {{ end }}{{ .Title }}
{{if eq .Kind "term"}}{{ .Data.Singular | humanize }}: {{ end }}{{ .Title }}
</h1>
{{- end }}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment