This commit is contained in:
2020-02-14 16:40:46 +01:00
parent 9a611bbf32
commit 49a69633ba
27 changed files with 356 additions and 120 deletions

View File

@ -1,23 +1,13 @@
{{ define "main" }}
<div class="bg">
<p id="actu" class="ancre" />
<div class="container">
<h2>Actualités</h2>
<p>
orem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</p>
</div>
</div>
<div class="bg colored">
<p id="about" class="ancre" />
<div class="container">
{{ with .Site.GetPage "/about.md" }}{{ .Content }}{{ end }}
</div>
</div>
<div class="bg">
<p id="contact" class="ancre" />
<div class="container">
{{ with .Site.GetPage "/contact.md" }}{{ .Content }}{{ end }}
</div>
</div>
{{ with .Site.GetPage "/accueil" }}
{{ $pages := .Resources.ByType "page" }}
{{ range sort $pages "Params.weight" }}
<div class="bg{{if isset .Params "bg_colored" }} colored{{end}}">
{{ with .File }}<p id="{{ .BaseFileName }}" class="ancre" />{{ end }}
<div class="container">
{{ .Content }}
</div>
</div>
{{ end }}
{{ end }}
{{ end }}