Rename header.html to header.liquid
This commit is contained in:
parent
507bb7448a
commit
33f0aecdf6
|
|
@ -4,7 +4,7 @@
|
|||
{% include "partials/metas.html" %}
|
||||
</head>
|
||||
<body>
|
||||
{% include "partials/header.html" %}
|
||||
{% include "partials/header.liquid" %}
|
||||
|
||||
<main tabindex="-1" id="main-content">
|
||||
{% block content %}
|
||||
|
|
|
|||
|
|
@ -1,17 +0,0 @@
|
|||
{% include "partials/skip-link.html" %}
|
||||
<header id="site-header">
|
||||
<span></span>
|
||||
<div>
|
||||
<nav>
|
||||
<ul>
|
||||
{% for item in collections.subpages %}
|
||||
{% if item.data.excludeFromNav != true %}
|
||||
<li>
|
||||
<a href="#{{ item.data.title | slug }}">{{ item.data.title }}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
7
src/_includes/partials/header.liquid
Normal file
7
src/_includes/partials/header.liquid
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{% include "partials/skip-link.html" %}
|
||||
<header id="site-header">
|
||||
<span></span>
|
||||
<div>
|
||||
{% include "partials/navigation" %}
|
||||
</div>
|
||||
</header>
|
||||
Loading…
Reference in a new issue