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>
|
||||
<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>
|
||||
|
|
Loading…
Reference in a new issue