Hi, I am new to Power Pages and Liquid Code. I need to filter all Articles in a Category. I tried this, but did not get the expected result.
The desired result of the following code is to get the list of the Articles in the Category "Credit Card" and then display their Titles and Content.
{% assign category_articles = knowledge.articles | knowledge.categories == 'Credit Card' %}
{% for article in category_articles %}
<h3 class= "title-question"> {{ article.title}} </h3>
<div class= "answer"> {{ article.content}} </div>
{% endfor %}
Can you help me? Thank you!