2020-10-14 15:20:21 +02:00
|
|
|
{{ $currentPage := . }}
|
2020-10-14 01:00:50 +02:00
|
|
|
<header>
|
|
|
|
<h1>
|
2020-11-15 13:53:52 +01:00
|
|
|
{{ with resources.Get "img/titre.png" }}
|
|
|
|
<a href="{{ $.Site.BaseURL | relURL }}">
|
|
|
|
<img src="{{ .RelPermalink }}" />
|
|
|
|
</a>
|
|
|
|
{{ else }}
|
|
|
|
<a href="{{ $.Site.BaseURL | relURL }}">{{ .Site.Title }}</a>
|
|
|
|
{{ end }}
|
2020-10-14 01:00:50 +02:00
|
|
|
</h1>
|
2020-10-14 15:20:21 +02:00
|
|
|
{{ with $.Site.Params.Description }}
|
2020-10-14 01:00:50 +02:00
|
|
|
{{ . }}
|
|
|
|
{{ end }}
|
2020-11-13 17:39:56 +01:00
|
|
|
<nav>
|
2020-10-14 15:20:21 +02:00
|
|
|
{{ range $.Site.Sections }}
|
2020-11-13 17:39:56 +01:00
|
|
|
<a href="{{ .Permalink }}" class="{{ if eq $currentPage.Section .Section }}exposed{{ end }}">
|
|
|
|
{{ .Title | markdownify }}
|
|
|
|
</a>
|
2020-10-14 01:00:50 +02:00
|
|
|
{{ end }}
|
2020-11-13 17:39:56 +01:00
|
|
|
</nav>
|
2020-10-14 01:00:50 +02:00
|
|
|
</header>
|
|
|
|
|