histoiredunpied/layouts/index.html

14 lines
418 B
HTML
Raw Normal View History

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}}">
{{ with .File }}<p id="{{ .BaseFileName }}" class="ancre" />{{ end }}
<div class="container">
{{ .Content }}
</div>
</div>
{{ end }}
{{ end }}
2020-02-11 09:02:51 +01:00
{{ end }}