lestoitsduval/layouts/partials/header.html

23 lines
769 B
HTML
Raw Normal View History

2020-03-26 18:48:07 +01:00
<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="/">
2022-01-28 00:11:03 +01:00
{{ if .IsHome }}
<h1>{{ .Site.Title }}</h1>
{{ else }}
<div class="title">{{ .Site.Title }}</div>
{{ end }}
2020-05-22 11:13:09 +02:00
<cite>Centrales Villageoises <span class="noWrap">des Val d'Aix et Isable</span></cite>
2020-03-26 18:48:07 +01:00
</a>
</div>
</div>
</header>
2020-05-22 11:13:09 +02:00
{{ partial "nav.html" . }}