histoiredunpied/layouts/actu/index.html

14 lines
421 B
HTML

{{ define "main" }}
{{ 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 }}<a id="_{{ .BaseFileName }}" class="ancre"></a>{{ end }}
<div class="container">
{{ .Content }}
</div>
</div>
{{ end }}
{{ end }}
{{ end }}