Denys Konovalov 01c6b8cf06 website
2022-06-22 21:28:26 +02:00

34 lines
1.1 KiB
HTML

{{ with .Site.Data.portfolioSection }}
{{ if .enable }}
<section class="section portfolio" id="portfolio">
<div class="container">
<div class="row text-center">
<div class="col-lg-6 offset-lg-3">
<div class="portfolio__header mb-5">
<span class="top-title">{{ .topTitle }}</span>
{{ .title | markdownify }}
</div>
</div>
</div>
<div class="row">
<div class="col-12">
<div class="portfolio-item-grid">
{{ range (where $.Site.RegularPages "Type" "portfolio").Reverse }}
<div class="portfolio-item">
<img src="{{ .Params.thumbnail }}" class="portfolio-item-thumb" alt="portfolio-thumb" />
<div class="portfolio-item-content">
<span>{{ .Params.service }}</span>
<h3 class="mb-0">
<a class="text-dark" href="{{ .Permalink }}">{{ .Title }}</a>
</h3>
<a class="see-more-btn" href="{{ .Permalink }}">See details</a>
</div>
</div>
{{ end }}
</div>
</div>
</div>
</div>
</section>
{{ end }}
{{ end }}