ELEC60013-ES-CW1/Website/layouts/partials/section5.html

32 lines
1.1 KiB
HTML
Raw Normal View History

{{- $section5 := .Site.Params.section5 }} {{- $title := index $section5 "title"
}} {{- $subtitle := index $section5 "subtitle" }} {{- $clients := index
$section5 "clients" }}
<section id="{{ $title }}" class="section is-medium section-secondary">
<div class="container">
<div class="title-wrapper has-text-centered">
<h2 class="title is-2 light-text is-spaced">{{ $title }}</h2>
{{- with $subtitle }}
<h3 class="subtitle is-5 light-text">{{ . }}</h3>
{{- end }}
</div>
<div class="content-wrapper">
<div class="columns is-vcentered">
{{- range $clients }}
<div class="column is-4">
<figure class="testimonial">
<blockquote>{{ .quote }}</blockquote>
<div class="author">
<img src="{{ printf "/images/illustrations/faces/%s.png" (string
.img) | relURL }}" alt=""/>
<h5>{{ .name }}</h5>
<span>{{ .job }}</span>
</div>
</figure>
</div>
{{- end }}
</div>
</div>
</div>
</section>