Use h-feed for section, taxonomy, and taxonomyTerm
parent
779f3c20e0
commit
d7f52b0d64
|
@ -29,7 +29,7 @@
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
<main {{ if eq .Kind "page" }}class="h-entry"{{ else if eq .Kind "section" }}class="h-feed"{{ end }}>
|
<main {{ if eq .Kind "page" }}class="h-entry"{{ else if in (slice "section" "taxonomy" "taxonomyTerm" ) .Kind }}class="h-feed"{{ end }}>
|
||||||
<header>
|
<header>
|
||||||
{{- block "content-header" . -}}
|
{{- block "content-header" . -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
Loading…
Reference in New Issue