<div class="hero">
                <img class="hero-img" alt="<%= img_alt %>" src="<%= img_path %>">
                <h1 class="hero-title"><%- title %></h1>
                <p class="hero-subtitle"><%- subtitle %></p>
                <% if (cta_text !== "") { %><button class="hero-cta"><%= cta_text %></button>
                <script>getQuery(".hero-cta").click(() => {window.location.href = "<%= cta_link %>"});</script><% }; %>
            </div>