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