2020-02-11 09:02:51 +01:00
|
|
|
{{ define "main" }}
|
2020-02-14 16:40:46 +01:00
|
|
|
{{ with .Site.GetPage "/accueil" }}
|
|
|
|
{{ $pages := .Resources.ByType "page" }}
|
|
|
|
{{ range sort $pages "Params.weight" }}
|
|
|
|
<div class="bg{{if isset .Params "bg_colored" }} colored{{end}}">
|
2020-03-09 16:11:20 +01:00
|
|
|
{{ with .File }}<p id="ancre_{{ .BaseFileName }}" class="ancre" />{{ end }}
|
2020-02-14 16:40:46 +01:00
|
|
|
<div class="container">
|
|
|
|
{{ .Content }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
2020-02-11 09:02:51 +01:00
|
|
|
{{ end }}
|