17 lines
540 B
HTML
17 lines
540 B
HTML
{{- $fermeture := .item.fermeture -}}
|
|
{{- if eq $fermeture 1 -}}
|
|
<section class="wrapper style2">
|
|
<div class="container">
|
|
<header class="major">
|
|
<h2>{{ .item.heading }}</h2>
|
|
{{- $html := .item.contents | markdownify -}}
|
|
{{- if (findRE "<p(?: [^>]*)?>" $html) -}}
|
|
{{ $html }}
|
|
{{- else -}}
|
|
<p>{{ $html }}</p>
|
|
{{- end -}}
|
|
</header>
|
|
</div>
|
|
</section>
|
|
{{- else -}}
|
|
{{- end -}}
|