forked from YanDieg/emix_69
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcarousel.html
More file actions
47 lines (44 loc) · 2.01 KB
/
Copy pathcarousel.html
File metadata and controls
47 lines (44 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<div id="inSlider" class="carousel carousel-fade" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#inSlider" data-slide-to="0" class="active"></li>
<li data-target="#inSlider" data-slide-to="1"></li>
</ol>
<div class="carousel-inner" role="listbox">
<div class="item active">
<div class="container">
<div class="carousel-caption">
</div>
<div class="carousel-image wow zoomIn">
<!-- <img src="static/img/landing/laptop.png" alt="laptop"/> -->
</div>
</div>
<!-- Set background for slide in css -->
<div
class="header-back"
style="background-image: url({{ '/static/assets/img/' | prepend: site.baseurl }}{{ site.data.index.banners[0].src }});"
title="{{ site.data.index.banners[0].title }}">
</div>
</div>
{% for banner in site.data.index.banners offset:1 %}
<div class="item">
<div class="container">
<div class="carousel-caption">
</div>
<div class="carousel-image wow zoomIn">
<!-- <img src="static/img/landing/laptop.png" alt="laptop"/> -->
</div>
</div>
<!-- Set background for slide in css -->
<div class="header-back" style="background-image: url({{ "/static/assets/img/" | prepend: site.baseurl }}{{ banner.src }});" title="{{ banner.title }}"></div>
</div>
{% endfor %}
</div>
<a class="left carousel-control" href="#inSlider" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#inSlider" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>