histoiredunpied/layouts/boutique/index.html

14 lines
422 B
HTML

{{ define "main" }}
{{ with .Site.GetPage "/boutique" }}
{{ $pages := .Resources.ByType "page" }}
{{ range sort $pages "Params.weight" }}
<div class="bg{{if isset .Params "bg_colored" }} colored{{end}}">
{{ with .File }}<a id="_{{ .BaseFileName }}" class="ancre"></a>{{ end }}
<div class="container">
{{ .Content }}
</div>
</div>
{{ end }}
{{ end }}
{{ end }}