feat: basic website with basic content
This commit is contained in:
parent
3379242f31
commit
ba403c815f
76 changed files with 2167 additions and 4 deletions
31
layouts/index.html
Normal file
31
layouts/index.html
Normal 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 }}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue