histoiredunpied/layouts/partials/header.html

22 lines
631 B
HTML

<header class="header" role="banner">
<div class="container">
<a href="/" class="accueil">
<img src="/logo.svg" alt="Logo d'Histoire d'un Pied" class="logo" />
</a>
<nav class="menu" role="navigation">
<ul>
{{ with .Site.GetPage "/accueil" }}
{{ $pages := .Resources.ByType "page" }}
{{ range sort $pages "Params.weight" }}
{{ if .Title }}
<li>
<a class="navigation-lien" href="#_{{ .File.BaseFileName }}">{{ .Title }}</a>
</li>
{{ end }}
{{ end }}
{{ end }}
</ul>
</nav>
</div>
</header>