diff --git a/layouts/shortcodes/postlist.html b/layouts/shortcodes/postlist.html index b26e6e1..bba2156 100644 --- a/layouts/shortcodes/postlist.html +++ b/layouts/shortcodes/postlist.html @@ -5,6 +5,9 @@ {{- $pgr = (where $pgr "Params.categories" "intersect" (slice .)) -}} {{- end -}} {{- end -}} +{{- if (.Get "title-matches") -}} + {{- $pgr = (where $pgr "Params.title" "like" (.Get "title-matches") -}} +{{- end -}} {{- if (ne (.Get "order") "") -}} {{- $order := split (.Get "order") " " -}}