mirror of
https://github.com/Aroy-Art/Rinkusu.git
synced 2024-12-26 17:04:23 +01:00
Fix: 2 try to fix art carousel
This commit is contained in:
parent
93a09d5dda
commit
0a84126fb0
3 changed files with 7 additions and 7 deletions
|
@ -148,7 +148,7 @@ jQuery(function ($) {
|
||||||
autoplaySpeed: 1500,
|
autoplaySpeed: 1500,
|
||||||
slidesToShow: 1,
|
slidesToShow: 1,
|
||||||
slidesToScroll: 1,
|
slidesToScroll: 1,
|
||||||
lazyLoad: 'progressive',
|
lazyLoad: 'progressive', /* ondemand */
|
||||||
centerMode: true,
|
centerMode: true,
|
||||||
variableWidth: true
|
variableWidth: true
|
||||||
});
|
});
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
|
|
||||||
{{ partial "bradcrumb.html" . }}
|
{{ partial "bradcrumb.html" . }}
|
||||||
|
|
||||||
{{ partial "slick-imageSlideShow.html"}}
|
{{/* {{ partial "slick-imageSlideShow.html"}} */}}
|
||||||
{{/*
|
|
||||||
{{ partial "imageSlideShow.html" . }} */}}
|
{{ partial "imageSlideShow.html" . }}
|
||||||
|
|
||||||
{{ partial "blog.html" . }}
|
{{ partial "blog.html" . }}
|
||||||
|
|
||||||
|
|
|
@ -22,13 +22,13 @@
|
||||||
{{ $image_thumb := slice }}
|
{{ $image_thumb := slice }}
|
||||||
{{ range .portfolio_categories }}
|
{{ range .portfolio_categories }}
|
||||||
{{ range .portfolio_items }}
|
{{ range .portfolio_items }}
|
||||||
{{ $images = $images | append .image }}
|
{{ $images = $images | append .image }}
|
||||||
{{ $image_thumb := $image_thumb | append .image_thumb }}
|
{{ $image_thumb := $image_thumb | append .image_thumb }}
|
||||||
|
|
||||||
{{- $original := resources.Get .image -}}
|
{{- $original := resources.Get .image -}}
|
||||||
{{ $thumb := $original.Resize "x320" }}
|
{{ $thumb := $original.Resize "x320" }}
|
||||||
<div class="item item-center">
|
<div class="item item-center">
|
||||||
<img class="img-fluid lozad AC-img" data-lazy="{{ $thumb.RelPermalink }}" alt="{{ .name }}" title="{{ .name }}">
|
<img class="img-fluid AC-img" data-lazy="{{ $thumb.RelPermalink }}" alt="{{ .name }}" title="{{ .name }}">
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue