How to delete header?
alex-shef opened this issue · 4 comments
alex-shef commented
This variant doesn't work.
<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
{%- include head.html -%}
<body>
<!-- {%- include header.html -%}-->
<main class="page-content" aria-label="Content">
<div class="wrapper">
{{ content }}
</div>
</main>
{%- include footer.html -%}
</body>
</html>
alexsmacd commented
What happens if you just remove that line altogether?
<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
{%- include head.html -%}
<body>
<main class="page-content" aria-label="Content">
<div class="wrapper">
{{ content }}
</div>
</main>
{%- include footer.html -%}
</body>
</html>
alex-shef commented
@alexsmacd , the same, nothing
ashmaroli commented
@alex-shef Is your site render public yet? If yes, pls provide a link to your live site. Nevermind, I found the repository under your login.
The issue is you have edited _layouts/base.html
from minima:master
branch instead of the _layouts/default.html
from minima:v2.5.1
, the version used by GitHub Pages.
alex-shef commented
@ashmaroli , thank you.