Hi, We have created dynamic footer based on the URL slug of website page. However, couldn't locate HubL variable for the blog post URL in the knowledge base. below code written to dynamically switch between footer. Could someone please confirm if this code will be able to handle blog listing and pages to dynamically switch footer? If not, is there any HubL variable that needs to be included?
<style> {# {% if widget_data.module_16425138492573.current_page == '1' %} #} {% set current_url = request|urlize %} {% if current_url is string_containing "/carriers" %} .drivers_footer{ display:none; } {% else %} .carriers_footer{ display:none; } {% endif %} #} </style>