diff --git a/layouts/shortcodes/postlist.html b/layouts/shortcodes/postlist.html
index bba2156..eef91b7 100644
--- a/layouts/shortcodes/postlist.html
+++ b/layouts/shortcodes/postlist.html
@@ -6,7 +6,7 @@
{{- end -}}
{{- end -}}
{{- if (.Get "title-matches") -}}
- {{- $pgr = (where $pgr "Params.title" "like" (.Get "title-matches") -}}
+ {{- $pgr = (where $pgr "Params.title" "like" (.Get "title-matches")) -}}
{{- end -}}
{{- if (ne (.Get "order") "") -}}