35 lines
1.3 KiB
HTML
35 lines
1.3 KiB
HTML
{{ define "content" }}
|
|
|
|
<div class="has-background-warning-light pt-6 px-6">
|
|
<section class="section mb-0 py-0 has-text-justified">
|
|
<h1 class="title is-size-1 has-text-weight-bold has-text-centered">{{ .Title }}</h1>
|
|
<p>{{ .Content }}</p>
|
|
</section>
|
|
<section class="section mb-0 pb-0">
|
|
<h2 class="is-size-3 mb-5 has-text-centered">{{ .Params.subtitle}}</h2>
|
|
<div class="columns is-justify-content-center ">
|
|
{{ range .Pages }}
|
|
<div class="column is-4" style="overflow:hidden;">
|
|
<figure class="image">
|
|
{{ $img := resources.GetMatch (print .File.Dir "/portrait.*") }}
|
|
{{ with $img}}
|
|
<img src="{{ $img.Permalink }}" alt="Artiste">
|
|
{{ end }}
|
|
</figure>
|
|
<p class="is-size-5"> {{ .Title }}</p>
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
</section>
|
|
<section class="section">
|
|
{{ range .Pages }}
|
|
<div class="py-5 has-text-justified">
|
|
<h2 class="is-size-4 has-text-centered">{{ .Title }}</h2>
|
|
<p class="is-size-6">{{ .Content }}</p>
|
|
</div>
|
|
{{ end }}
|
|
</section>
|
|
</div>
|
|
|
|
|
|
{{ end }} |