-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage_content.html
More file actions
51 lines (42 loc) · 1.58 KB
/
Copy pathpage_content.html
File metadata and controls
51 lines (42 loc) · 1.58 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
48
49
50
51
<!-- Page Content -->
<div id="portfolio"></div>
{% 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>
{{ post.description }}
</div>
<div class="col-lg-5 col-lg-offset-2 col-sm-6">
<img class="img-responsive" src="img/services/{{ post.img }}" alt="">
</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>
{{ post.description }}
</div>
<div class="col-lg-5 col-sm-pull-6 col-sm-6">
<img class="img-responsive" src="img/services/{{ post.img }}" alt="">
</div>
</div>
</div>
<!-- /.container -->
</div>
<!-- /.content-section-b -->
{% endif %}
{% endfor %}