header fix
This commit is contained in:
parent
8717f2857d
commit
7be1b2995a
1 changed files with 4 additions and 4 deletions
|
@ -1,16 +1,16 @@
|
||||||
<header>
|
<header>
|
||||||
<a href='{{if eq "fr" .Language.Lang }}/{{.Language.Lang}}{{end}}/'><img src="/logo.webp" style="max-height:5rem;"></a>
|
<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>
|
<nav>
|
||||||
<a href='{{if eq "fr" .Language.Lang }}/{{.Language.Lang}}{{end}}/'>
|
<a href='{{if eq "fr" .Language.Lang }}/{{.Language.Lang}}{{end}}/'>
|
||||||
{{if eq "fr" .Language.Lang}}
|
{{if eq "fr" .Language.Lang}}
|
||||||
<h2>Acceuil</h2>
|
<h3>Acceuil</h3>
|
||||||
{{else}}
|
{{else}}
|
||||||
<h2>Home</h2>
|
<h3>Home</h3>
|
||||||
{{end}}
|
{{end}}
|
||||||
</a> {{ range .Site.Sections.ByWeight}}
|
</a> {{ range .Site.Sections.ByWeight}}
|
||||||
<a href="{{.Permalink}}">
|
<a href="{{.Permalink}}">
|
||||||
<h2>{{.Title}}</h2>
|
<h3>{{.Title}}</h3>
|
||||||
</a> {{end}}
|
</a> {{end}}
|
||||||
</nav>
|
</nav>
|
||||||
<nav>
|
<nav>
|
||||||
|
|
Loading…
Reference in a new issue