CMS for dev Practicum : Include the footer and header in my template file ?

Hi guys !!
I am in the middle of the dev practicum and I encountered this problem.
I can’t figure out why the path is not recognized and the header.html and footer.html are not found.
The code you are seeing is in myTemplate.html


warning and folder structure

template code
Attached is my code and the folders structure, as well as the warning!
Thanks in advance,
Best regards.

Azhar

Hello, please try removing duplicate periods in your file paths:

{% global_partial path='./partials/header.html' %}{% global_partial path='./partials/footer.html' %}

Hi @MarcusJ ,
I just did like you suggested but I have a weird error now in the first line of the code :

This is my code and as you can see I am not using neither more than once !!

<!--
templateType: page
isAvailableForNewContent: true
-->
<!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 }}”>
{{ require_css(get_asset_url(“../css/layout.css”)) }}
{% if brand_settings.primaryFavicon.src %}
<link rel=“shortcut icon” href=“{{ brand_settings.primaryFavicon.src }}” />
{% endif %}
{{ standard_header_includes }}
</head>
<body>
<div class=“body-wrapper {{ builtin_body_classes }}”>
{% block header %}
{% global_partial path=‘./partials/header.html’ %}
{% endblock header %}

{% block body %}
{% endblock body %}

{% block footer %}
{% global_partial path=‘./partials/footer.html’ %}
{% endblock footer %}
</div>
{{ standard_footer_includes }}
</body>
</html>

any clues why is this happening ?
thank you

Hi @AzharBondi,
Usually this error pops up when you are referencing that tag elsewhere, including within modules referenced in this templates. For example, if you look at the footer module, or other referenced modules, do you see the {{ standard_header_includes }} tag? If you do, you will need to remove them!

Thank you @NicoleJ !! I was indeed using these tags in the header.html and footer.html !! As soon as I removed them ! the errors disappeared !!
so much appreaciated !!

So much appreaciated @MarcusJ !! What you suggested worked perfectly as well and now the path is not getting any warnings. I can see the footer and header displayed when I preview my template !!
Thank you!!