header fix

This commit is contained in:
Gabriel 2024-01-21 00:02:03 -05:00
parent 8717f2857d
commit 7be1b2995a

View file

@ -1,16 +1,16 @@
<header>
<a href='{{if eq "fr" .Language.Lang }}/{{.Language.Lang}}{{end}}/'><img src="/logo.webp" style="max-height:5rem;"></a>
<h1>{{.Site.Title}}</h1>
<h1 style="text-align:center;">{{.Site.Title}}</h1>
<nav>
<a href='{{if eq "fr" .Language.Lang }}/{{.Language.Lang}}{{end}}/'>
{{if eq "fr" .Language.Lang}}
<h2>Acceuil</h2>
<h3>Acceuil</h3>
{{else}}
<h2>Home</h2>
<h3>Home</h3>
{{end}}
</a> {{ range .Site.Sections.ByWeight}}
<a href="{{.Permalink}}">
<h2>{{.Title}}</h2>
<h3>{{.Title}}</h3>
</a> {{end}}
</nav>
<nav>