Hey everyone I am trying to output entries on the homepage. My goal is that the most recent entry is styled differently.
I achieved this by calling the loop too times:
{% for entry in craft.entries.section('blogPosts').limit(1) %}
than
{% for entry in craft.entries.section('blogPosts').all() %}
and it works perfectly.
My only issue is that I want to exclude the most recent post from the second loop, so it only appear in the first loop.
Is there a way in craft for exactly the most recent entry or I should do this with ID?
Thank you for your help!