2021-11-16 12:33:47 +01:00
|
|
|
{{ $data := index site.Data.portfolio }}
|
|
|
|
|
|
|
|
{{ with $data.portfolio }}
|
|
|
|
<section class="section bg-2">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xl-12">
|
|
|
|
{{"<!-- Start Section Title -->" | safeHTML}}
|
|
|
|
<div class="title text-center wow fadeInDown">
|
|
|
|
<h2> {{ with i18n "artTitle" }} {{ index (split . " ") 0 | safeHTML }} {{ end }}<span class="color">
|
|
|
|
{{ with i18n "artTitle" }} {{ index (split . " ") 1 | safeHTML }} {{ end }} </span></h2>
|
2022-10-14 16:10:28 +02:00
|
|
|
<div class="border-Rinkusu"></div>
|
2021-11-16 12:33:47 +01:00
|
|
|
</div>
|
|
|
|
{{"<!-- End Section Title -->" | safeHTML}}
|
|
|
|
|
2022-05-09 21:30:40 +02:00
|
|
|
|
|
|
|
<div class="slides slow">
|
|
|
|
|
|
|
|
</div>
|
2021-11-16 12:33:47 +01:00
|
|
|
<div id="ArtCarousel" class="wow fadeInUp center-block" data-wow-duration="500ms" data-wow-delay="100ms">
|
2023-02-14 15:51:38 +01:00
|
|
|
{{/* {{ $images := slice }}
|
|
|
|
{{ $image_thumb := slice }} */}}
|
2021-11-16 12:33:47 +01:00
|
|
|
{{ range .portfolio_categories }}
|
|
|
|
{{ range .portfolio_items }}
|
2023-02-14 15:51:38 +01:00
|
|
|
{{ if eq .slideshow true }}
|
|
|
|
{{/* {{ $images = $images | append .image }} */}}
|
|
|
|
|
|
|
|
{{- $original := resources.Get .image -}}
|
|
|
|
{{ $thumb := $original.Resize "x320" }}
|
|
|
|
{{ $image := $original.Fit "1080x1080" }}
|
2023-02-14 16:20:18 +01:00
|
|
|
|
|
|
|
{{ if eq site.Params.onNetlify true }}
|
|
|
|
<a class="item item-center image-popup-gallery" data-mfp-src="{{ $image.RelPermalink }}">
|
|
|
|
<img class="img-fluid AC-img" src="{{ $thumb.RelPermalink }}" onerror='this.onerror=null,this.src="{{ $thumb.RelPermalink }}"' alt="{{ .name }}" title="{{ .name }}">
|
|
|
|
</a>
|
|
|
|
|
|
|
|
{{ else }}
|
|
|
|
<a class="item item-center image-popup-gallery" data-mfp-src="{{ $image.RelPermalink }}">
|
2024-03-26 20:23:01 +01:00
|
|
|
<img class="img-fluid AC-img" data-lazy="{{ $thumb.RelPermalink }}" onerror='this.onerror=null,this.src="{{ $thumb.RelPermalink }}"' alt="{{ .name }}" title="{{ .name }}">
|
2023-02-14 16:20:18 +01:00
|
|
|
</a>
|
|
|
|
|
|
|
|
{{ end }}
|
2023-02-14 15:51:38 +01:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{/* {{ $image_thumb := $image_thumb | append .image_thumb }} */}}
|
2021-11-16 12:33:47 +01:00
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
<div class="all-post text-center col-lg-12">
|
|
|
|
<a class="btn btn-main" href="{{ `portfolio` | absLangURL }}">{{ "view More Art" }}</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
{{ end }}
|