histoiredunpied/themes/lowtech/layouts/partials/header.html

20 lines
552 B
HTML
Raw Normal View History

2020-02-11 09:02:51 +01:00
<header class="header">
<div class="container">
<a href="/" class="accueil">
2020-02-14 16:40:46 +01:00
<img src="/logo.svg" alt="logo" class="logo" />
2020-02-11 09:02:51 +01:00
</a>
<nav class="menu">
<ul>
2020-02-14 16:40:46 +01:00
{{ with .Site.GetPage "/accueil" }}
{{ $pages := .Resources.ByType "page" }}
{{ range sort $pages "Params.weight" }}
<li>
<a class="navigation-lien" href="#{{ .File.BaseFileName }}" title="{{ .Title }}">{{ .Title }}</a>
</li>
{{ end }}
{{ end }}
</ul>
2020-02-11 09:02:51 +01:00
</nav>
</div>
</header>