Difficulty Level: Advanced. This post assumes a strong understanding of HubSpot tools and technical knowledge. Insutructions are given as guidelines and may require additional customisation.
Sometimes you might just want to apply styling to the first page in your blog listings, such as a hero banner or featured posts.
To do this, you can use the {% raw %}current_page_num
blog variable, like this:
{% if current_page_num == 1 %}
{# Code for content specific to your first page #}
{% endif %}
You can add this code into your blog listing template, on a custom module used on your listings template or in the Wrapping HTML on a module or group:

Written by: Stephanie O'Gay Garcia
Orginally Published: October 12, 2019
Last Updated: October 12, 2019