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-11 16:47:32 +01:00
|
|
|
{{ with .File }}<a id="_{{ .BaseFileName }}" class="ancre"></a>{{ 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 }}
|