34 lines
764 B
HTML
34 lines
764 B
HTML
{{ $currentPage := . }}
|
|
<header>
|
|
<div class="title-bar">
|
|
{{ with resources.Get "img/titre-blanc.png" }}
|
|
<a href="{{ $.Site.BaseURL | relURL }}">
|
|
<img src="{{ .RelPermalink }}" />
|
|
</a>
|
|
{{ else }}
|
|
<h2>
|
|
<a href="{{ $.Site.BaseURL | relURL }}">{{ .Site.Title }}</a>
|
|
</h2>
|
|
{{ end }}
|
|
<div class="description">
|
|
{{ with $.Site.Params.Description }}
|
|
{{ . }}
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
<nav>
|
|
{{ range $.Site.Sections }}
|
|
{{ if eq $currentPage.Section .Section }}
|
|
<span class="exposed">
|
|
{{ .Title | markdownify }}
|
|
</span>
|
|
{{ else }}
|
|
<a href="{{ .Permalink }}">
|
|
{{ .Title | markdownify }}
|
|
</a>
|
|
{{ end }}
|
|
{{ end }}
|
|
</nav>
|
|
</header>
|
|
|