19 lines
No EOL
631 B
HTML
19 lines
No EOL
631 B
HTML
<header>
|
|
<a href='{{if eq "fr" .Language.Lang }}/{{.Language.Lang}}{{end}}/'><img src="/logo.webp" style="max-height:5rem;"></a>
|
|
<h1 style="text-align:center;">{{.Site.Title}}</h1>
|
|
<nav>
|
|
<a href='{{if eq "fr" .Language.Lang }}/{{.Language.Lang}}{{end}}/'>
|
|
{{if eq "fr" .Language.Lang}}
|
|
<h3>Acceuil</h3>
|
|
{{else}}
|
|
<h3>Home</h3>
|
|
{{end}}
|
|
</a> {{ range .Site.Sections.ByWeight}}
|
|
<a href="{{.Permalink}}">
|
|
<h3>{{.Title}}</h3>
|
|
</a> {{end}}
|
|
</nav>
|
|
<nav>
|
|
{{ partial "language-picker" .}}
|
|
</nav>
|
|
</header> |