cremeaux/layouts/actualites/list.html

16 lines
442 B
HTML

{{ define "main" }}
<div class="container">
<h1>{{ .RenderString .Title }}</h1>
<div class="container md">
{{ .Content }}
<ul>
{{ block "list" . }}
{{ range .Pages }}
<li><a href="{{ .URL }}">{{ .Date.Day }} {{ index $.Site.Data.mois (printf "%d" .Date.Month) }} {{ .Date.Year }} - {{ .RenderString .Title }}</a></li>
{{ end }}
{{ end }}
</ul>
</div>
</div>
{{ end }}