export to theme
This commit is contained in:
19
layouts/partials/header.html
Normal file
19
layouts/partials/header.html
Normal file
@ -0,0 +1,19 @@
|
||||
<header class="header">
|
||||
<div class="container">
|
||||
<a href="/" class="accueil">
|
||||
<img src="/logo.svg" alt="logo" class="logo" />
|
||||
</a>
|
||||
<nav class="menu">
|
||||
<ul>
|
||||
{{ 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>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
Reference in New Issue
Block a user