cremeaux/layouts/_default/single.html

12 lines
325 B
HTML
Raw Normal View History

2020-10-21 16:23:05 +02:00
{{ 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 }}