mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-21 18:11:37 +01:00
terms: fix unreachable code in taxonomy list
This commit is contained in:
parent
46bf0538c9
commit
f933372c55
@ -17,7 +17,7 @@
|
||||
{{- end}}
|
||||
|
||||
{{ $paginator := .Paginate $pages }}
|
||||
|
||||
{{ $term := .Data.Term}}
|
||||
{{- range $index, $page := $paginator.Pages }}
|
||||
|
||||
{{- $class := "post-entry" }}
|
||||
@ -27,7 +27,7 @@
|
||||
{{- else}}
|
||||
{{- $class = "first-entry" }}
|
||||
{{- end }}
|
||||
{{- else if .Data.Term }}
|
||||
{{- else if $term }}
|
||||
{{- $class = "post-entry tag-entry" }}
|
||||
{{- end }}
|
||||
<article class="{{ $class }}">
|
||||
|
Loading…
Reference in New Issue
Block a user