cremeaux/layouts/_default/list.html

12 lines
325 B
HTML

{{ define "main" }}
{{ if .Params.Image }}
<img class="cover" src="{{ .Params.Image }}" alt="{{ .Title }}"/>
{{ end }}
<div class="container grid-lg contenu {{ if .Params.Image }}contenu-image{{end}}">
<h1>{{ .Title }}</h1>
<div class="container grid-sm">
{{ .Content }}
</div>
</div>
{{ end }}