When I use my global partial header and footer I can’t publish my template there is a error in cann’t resolved property.
If I use header and footer as a normal module it works. Can anyone help me to solve this problem
Here is the code >>
<!--
templateType: search_results_page
isAvailableForNewContent: true
label: search template
-->
<!doctype html>
<html>
<head>
<meta charset=“utf-8”>
{% if content.html_title %}<title>{{ content.html_title }}</title>{% endif %}
<meta name=“description” content=“{{ content.meta_description }}”>
{% if brand_settings.primaryFavicon.src %}
<link rel=“shortcut icon” href=“{{ brand_settings.primaryFavicon.src }}” />
{% endif %}
{{ standard_header_includes }}
</head>
<body>
{# {% module “module_17518790458083” path=“/Leva Medical Website/modules/Header/Navbar”, label=“Navbar” %} #}
{# {% module “search_results_page_template_logo” path=“@hubspot/logo” label=“Logo” %} #}
{# --- Adding Header Global #}
{# {% global_partial path=“../../templates/partials/header.html”, context=“module” %} #}
<!-- when i use my global partial header and footer i can’t publish my template there is a error in cann’t resolved property -->
{% module “module_17524193622492” path=“/Leva Medical Website/modules/Header/Navbar”, label=“Navbar” %}
<!-- if i use header and footer as a normal module it works -->
<div class=“container-inner”>
<div class=‘header’>
<h1>
Search Result
</h1>
</div>
{% module “module_175189368811524” path=“/Leva Medical Website/modules/Search/search_input leva”, label=“search_input leva” %}
{# {% module “search_results_page_search_results” overrideable=true, path=“@hubspot/search_results”, label=‘Site Search Results’ %} #}
{# {% module “module_17518966657208” path=“/Leva Medical Website/modules/Search/search_results leva”, label=“search_results leva” %} #}
{% module “module_175198916822411” path=“/Leva Medical Website/modules/Search/search_results leva 2”, label=“search_results leva 2” %}
{# {% module “module_17518791300054” path=“/Leva Medical Website/modules/home/footer”, label=“footer” %} #}
</div>
{# {% global_partial path=“../../templates/partials/footer.html” %} #}
{% module “module_17524193152531” path=“/Leva Medical Website/modules/home/footer”, label=“footer” %}
{{ standard_footer_includes }}
</body>
</html>
<style>
.hs-search-results__description{
color:green;
}
.container-inner{
max-width:1440px;
width:90%;
margin:0 auto;
}
.header{
text-align:center;
margin-top:5em;
margin-bottom:1.25em;
}
</style>