Closed gino8070 closed 8 years ago
Add "articles" to Thymeleaf-AddtionalExpression.
Impl method byCategoryAndTagName. How to use from views.
<th:block th:unless="${#sets.isEmpty(page.getCategories())}"> <div th:each="newsArticles : ${#articles.byCategoryAndTagName(page.getCategories().first(), 'NEWS', 4)}"> <p th:text="${#posts.title(newsArticles)}"/> </div> </th:block>
Add "articles" to Thymeleaf-AddtionalExpression.
Impl method byCategoryAndTagName. How to use from views.