cyberfreedom/layouts/partials/header.html

19 lines
604 B
HTML
Raw Normal View History

2023-12-28 00:01:05 -05:00
<header>
<a href='{{if eq "fr" .Language.Lang }}/{{.Language.Lang}}{{end}}/'><img src="/logo.webp" style="max-height:5rem;"></a>
<h1>{{.Site.Title}}</h1>
<nav>
2024-01-20 23:38:55 -05:00
<a href='{{if eq "fr" .Language.Lang }}/{{.Language.Lang}}{{end}}/'>
{{if eq "fr" .Language.Lang}}
<h2>Acceuil</h2>
{{else}}
<h2>Home</h2>
{{end}}
</a> {{ range .Site.Sections.ByWeight}}
2023-12-28 00:01:05 -05:00
<a href="{{.Permalink}}">
<h2>{{.Title}}</h2>
</a> {{end}}
</nav>
2024-01-20 23:38:55 -05:00
<nav>
{{ partial "language-picker" .}}
</nav>
2023-12-28 00:01:05 -05:00
</header>