diff options
-rw-r--r-- | themes/problematic/layouts/partials/posts.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/problematic/layouts/partials/posts.html b/themes/problematic/layouts/partials/posts.html index e31bf6c..c65664e 100644 --- a/themes/problematic/layouts/partials/posts.html +++ b/themes/problematic/layouts/partials/posts.html @@ -7,7 +7,7 @@ <ul> - {{ range where site.RegularPages ".Params.categories" "intersect" (slice ($key |title)) }} + {{ range where (where site.RegularPages "Section" "blog") ".Params.categories" "intersect" (slice ($key |title)) }} <li><a href="{{ .Permalink }}">{{ .Title }}</a></li> {{ end }} |