jekyll/minima

How to delete header?

alex-shef opened this issue · 4 comments

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>

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>

@alexsmacd , the same, nothing

@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.

@ashmaroli , thank you.