Pesquisas recentes


Sem pesquisas recentes

Lasted Article of {{#each promoted_articles}}

Respondido


Publicado 26 de out. de 2022

Hello everyone!

Is there a way to limit the number of articles to display in the {{#each promoted_articles}} loop
I would ideally like to have at the top of my home page the last promoted article (all alone), and further down, in my page, all the articles.

Thanks for your help !
Serge.


0

1

1 comentário

image avatar

Kasper Sørensen

Zendesk Product Manager

Hi Serge,

Yes you can use the Slice helper to select which parts of an array to show.

0


Por favor, entrar para comentar.

Não encontrou o que estava procurando?

Nova publicação