Post title
I'm trying to customize the header on our Guide to be different on the homepage. Is it possible to use an {{if}} statement to target the page type object in the header template?
Something like:
{{if home_page}}
<header class="header">
<div class="logo">
<a href="https://www.govx.com"><
</div>
<div class="nav-wrapper">
<a href="https://support.govx.
{{user_info}}
</div>
</header>
{{else}}
<header class="header2">
<div class="logo">
<a href="https://www.govx.com"><
</div>
<div class="nav-wrapper">
<a href="https://support.govx.
{{user_info}}
</div>
</header>
{{/if}}
Please sign in to leave a comment.
Comments
0 comments