mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 10:50:24 +00:00
parent
eb80a1788b
commit
a7a29541f8
2 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue