diff --git a/layouts/partials/postlist.html b/layouts/partials/postlist.html
index 714ea05..c668a50 100644
--- a/layouts/partials/postlist.html
+++ b/layouts/partials/postlist.html
@@ -1,5 +1,6 @@
{{ range .Pages }}
- {{ if not (isset .Params "hide") }}
+ {{ with .Params.hide }}
+ {{ else }}