categoryFilter returns a string

When I wanted to implement the category feature on WinterCMS, the categoryFilter field in the PostList component was not working so I could not see all my posts with a filter.

Just change the categoryFilter element in your category page category-page.htm like this:

<!-- before -->
categoryFilter = ':slug'" 

<!-- after -->
categoryFilter = "{{ :slug }}"

For more information:

in WinterCMS Posted on May 17, 2021