diff options
Diffstat (limited to 'layouts/partials/row.html')
-rw-r--r-- | layouts/partials/row.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/row.html b/layouts/partials/row.html index 1aab16e..7d67838 100644 --- a/layouts/partials/row.html +++ b/layouts/partials/row.html @@ -109,6 +109,7 @@ <section class="episode-list"> <!-- rest of episodes --> +{{- if (where .Data.Pages "Type" "episode") -}} {{- $paginator := .Paginate (after 1 (where .Data.Pages "Type" "episode")) 5 -}} {{- $list := (where .Data.Pages "Type" "episode") -}} {{- $len := (len $list) -}} @@ -255,5 +256,6 @@ </div> {{- end -}} </div> +{{- end -}} </div> </div> <!-- end section --> |