lestoitsduval/layouts/partials/header.html

19 lines
652 B
HTML

<header class="header" role="banner">
<div class="container">
<a href="/" class="logoContainer">
{{ with (.Site.GetPage "_index.md").Resources.GetMatch "lestoitsduval-icon.png" }}
{{ $img := . }}
{{ $image := $img.Resize "200x200" }}
<img src="{{ $image.RelPermalink }}" width="200" height="200" alt="Logo des Toits du Val" class="logo" />
{{ end }}
</a>
<div class="titleContainer">
<a href="/">
<h1>{{ .Site.Title }}</h1>
<cite>Centrales Villageoises <span class="noWrap">des Val d'Aix et Isable</span></cite>
</a>
</div>
</div>
</header>
{{ partial "nav.html" . }}