portal didn't hide last time; try again

This commit is contained in:
Aadil Ayub 2022-01-07 12:53:27 +05:00
parent ad2572012c
commit 8f3c053540
2 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{{ define "main" }}
<section class='entries'>
<div class="h-feed">
{{ range (where (.Paginator 13).Pages ".Params.type" "!=" "page" }}
{{ range (where (.Paginator 13).Pages }}
{{ if in .Params.categories "tv"}}
@ -18,6 +18,10 @@
{{ else if in .Params.categories "shouts" }}
{{- partial "shout_card.html" . -}}
{{ else if in .Params.categories "page" }}
{{- partial "blank.html" . -}}
{{ else }}