mirror of
https://github.com/supleed2/ELEC60013-ES-CW1.git
synced 2024-12-23 14:05:48 +00:00
36 lines
1.2 KiB
HTML
36 lines
1.2 KiB
HTML
{{- $section2 := .Site.Params.section2 }} {{- $title := index $section2 "title"
|
|
}} {{- $subtitle := index $section2 "subtitle" }} {{- $features := index
|
|
$section2 "features" }}
|
|
<section id="{{ $title }}" class="section is-medium">
|
|
<div class="container">
|
|
<div class="columns">
|
|
<div class="column is-centered-tablet-portrait">
|
|
<h1 class="title section-title">{{ $title }}</h1>
|
|
<h3 class="subtitle is-5 is-muted">{{ $subtitle }}</h3>
|
|
<div class="divider"></div>
|
|
</div>
|
|
<div class="column is-7 mt-60">
|
|
{{- range $features }}
|
|
<article class="media icon-box">
|
|
<figure class="media-left">
|
|
<p class="image">
|
|
<img src="{{ printf "/images/illustrations/icons/%s.svg" .icon |
|
|
relURL }}">
|
|
</p>
|
|
</figure>
|
|
<div class="media-content mt-50">
|
|
<div class="content">
|
|
<p>
|
|
<span class="icon-box-title">{{ .title }}</span>
|
|
|
|
<span class="icon-box-text">{{ .text | markdownify }}</span>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
{{- end }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|