-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpage_content.html
63 lines (52 loc) · 1.95 KB
/
page_content.html
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<section id="feature">
<!-- Page Content -->
{% for post in site.posts reversed %}
{% capture thecycle %}{% cycle 'odd', 'even' %}{% endcapture %}
{% if thecycle == 'odd' %}
<div class="content-section-a">
<div class="container">
<div class="row">
<div class="col-lg-5 col-sm-6">
<hr class="section-heading-spacer">
<div class="clearfix"></div>
<h2 class="section-heading">{{ post.title }}</h2>
<div class="lead">{{ post.content }}</div>
</div>
<div class="col-lg-5 col-lg-offset-2 col-sm-6">
{% if post.img != null %}
<img class="img-responsive" src="img/services/{{ post.img }}" alt="">
{% else %}
<iframe width="640" height="360" src="{{ post.video }}" frameborder="0" ></iframe>
{% endif %}
</div>
</div>
</div>
<!-- /.container -->
</div>
<!-- /.content-section-a -->
{% else %}
<div class="content-section-b">
<div class="container">
<div class="row">
<div class="col-lg-5 col-lg-offset-1 col-sm-push-6 col-sm-6">
<hr class="section-heading-spacer">
<div class="clearfix"></div>
<h2 class="section-heading">{{ post.title }}</h2>
<div class="lead">{{ post.content }}</div>
</div>
<div class="col-lg-5 col-sm-pull-6 col-sm-6">
{% if post.img != null %}
<img class="img-responsive" src="img/services/{{ post.img }}" alt="">
{% else %}
<iframe width="640" height="360" src="{{ post.video }}" frameborder="0" ></iframe>
{% endif %}
</div>
</div>
</div>
</div>
<!-- /.container -->
</div>
<!-- /.content-section-b -->
{% endif %}
{% endfor %}
</section>