ELEC60013-ES-CW1/layouts/partials/section4.html

32 lines
1.1 KiB
HTML
Raw Normal View History

{{- $section4 := .Site.Params.section4 }} {{- $title := index $section4 "title"
}} {{- $subtitle := index $section4 "subtitle" }} {{- $clients := index
$section4 "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>