# Apply specific styling to the first page of your HubSpot blog listings

**Technical Difficulty:** Advanced  
**Written by** [Stephanie O'Gay Garcia](/content/hubspot-website-development/author/stephanie-ogay-garcia/index.html)  
**First Published:** October 12, 2019  
**Last Updated:** October 12, 2019

⚠️ Note that this post hasn't been updated for at least a year and the information may be outdated, proceed with caution! _(Last updated: October 12, 2019)_

Sometimes you might just want to apply styling to the first page in your blog listings, such as a hero banner or [featured posts](/content/hubspot-website-development/set-featured-posts-on-the-hubspot-blog-listings-page/index.html).

To do this, you can use the {% raw %}`current_page_num` [blog variable](https://designers.hubspot.com/docs/hubl/hubl-supported-variables#blog-variables), 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:
