feat: basic website with basic content

This commit is contained in:
Matthieu Bessat 2023-10-28 10:20:52 +02:00
parent 3379242f31
commit ba403c815f
76 changed files with 2167 additions and 4 deletions

31
layouts/index.html Normal file
View file

@ -0,0 +1,31 @@
{{ define "main" }}
<div class="page-container">
<h1>Vélo et mobilités en Eure-Madrie-Seine</h1>
{{/*
{{ $image := resources.Get "images/velo_homme.jpg" }}
{{ $image = $image.Resize "400x" }}
<img
alt="Homme et un vélo"
src="{{ $image.RelPermalink }}"
/>
{{ $image := resources.Get "images/velo_femme.jpg" }}
{{ $image = $image.Resize "400x" }}
<img
alt="Une femme à vélo"
src="{{ $image.RelPermalink }}"
/>
*/}}
<div class="tmp_logo_container">
{{ $image := resources.Get "images/logos/logo.png" }}
<img
alt="Logo VMEMS représentant un vélo en transition"
src="{{ $image.RelPermalink }}"
/>
</div>
{{ .Content }}
</div>
{{ end }}