32 lines
584 B
HTML
32 lines
584 B
HTML
|
<div class="carousel last-news-carousel" data-to-slick='{
|
||
|
"autoplay":true,
|
||
|
"arrows":false,
|
||
|
"slideToShow":1,
|
||
|
"center": true,
|
||
|
"autoplaySpeed":2000,
|
||
|
"prevArrow":false,
|
||
|
"nextArrow":false,
|
||
|
"dots":false
|
||
|
}'>
|
||
|
|
||
|
{{ range ( where site.RegularPages "Type" "blog" | first 3 ) }}
|
||
|
<div class=item>
|
||
|
<a href="{{ .Permalink }}">
|
||
|
<div class=text>
|
||
|
<h3 class=title>
|
||
|
{{ .Title }}
|
||
|
</h3>
|
||
|
<div class=description>
|
||
|
{{ .Description }}
|
||
|
</div>
|
||
|
</div>
|
||
|
{{ if .Params.baneer }}
|
||
|
<div class=img>
|
||
|
<img src="{{ .Params.baneer | safeURL }}">
|
||
|
</div>
|
||
|
{{ end }}
|
||
|
</a>
|
||
|
</div>
|
||
|
{{ end }}
|
||
|
</div>
|