mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +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