mirror of
https://github.com/Aroy-Art/Rinkusu.git
synced 2024-12-27 06:25:50 +01:00
57 lines
No EOL
2.9 KiB
HTML
57 lines
No EOL
2.9 KiB
HTML
{{ $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>
|
|
<div class="border-Rinkusu"></div>
|
|
</div>
|
|
{{"<!-- End Section Title -->" | safeHTML}}
|
|
|
|
|
|
<div class="slides slow">
|
|
|
|
</div>
|
|
<div id="ArtCarousel" class="wow fadeInUp center-block" data-wow-duration="500ms" data-wow-delay="100ms">
|
|
{{/* {{ $images := slice }}
|
|
{{ $image_thumb := slice }} */}}
|
|
{{ range .portfolio_categories }}
|
|
{{ range .portfolio_items }}
|
|
{{ if eq .slideshow true }}
|
|
{{/* {{ $images = $images | append .image }} */}}
|
|
|
|
{{- $original := resources.Get .image -}}
|
|
{{ $thumb := $original.Resize "x320" }}
|
|
{{ $image := $original.Fit "1080x1080" }}
|
|
|
|
{{ 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 }}">
|
|
<img class="img-fluid AC-img" data-lazy="{{ $thumb.RelPermalink }}" onerror='this.onerror=null,this.src="{{ $thumb.RelPermalink }}"' alt="{{ .name }}" title="{{ .name }}">
|
|
</a>
|
|
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{/* {{ $image_thumb := $image_thumb | append .image_thumb }} */}}
|
|
|
|
{{ 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 }} |