forked from lix-project/lix-website
4e7c2d2987
(why the hell was alt text support not in the original hugo theme???)
28 lines
927 B
HTML
28 lines
927 B
HTML
<section class="section portfolio">
|
|
<div class="container">
|
|
{{ range .content }}
|
|
<div class="row portfolio-feature">
|
|
<div class="col-12 col-xl-6 d-flex flex-column justify-content-center">
|
|
{{ partial "utilities/image-fluid.html" (dict "image" .image "alt" .alt) }}
|
|
</div>
|
|
<div class="col-12 col-xl-6 d-flex flex-column justify-content-center">
|
|
{{ with .pretitle }}
|
|
<p class="text-danger fw-semibold mb-2">{{ . }}</p>
|
|
{{ end }}
|
|
{{ with .title }}
|
|
<h3 class="fs-1 fw-bold text-primary pb-3">{{ . }}</h3>
|
|
{{ end }}
|
|
{{ with .text }}
|
|
<p class="text-black-61 pb-3">{{ . }}</p>
|
|
{{ end }}
|
|
<div class="">
|
|
{{ range .buttons }}
|
|
<a class="text-decoration-none me-3" href="{{ .url }}">{{ .label }}</a>
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
</section>
|