forked from GafferHQ/gafferhq.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog.html
60 lines (45 loc) · 2.06 KB
/
blog.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
---
title: Gaffer Blog
---
{% include header.html %}
{% include intro.html title="Blog" image="http://image-engine.com/wp-content/uploads/2016/07/CHPSitting.jpg" %}
<section class="ptb ptb-60">
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2 blog-post-hr">
{% for post in site.posts %}
<!-- Post Item -->
<div class="blog-post mb-30">
<div class="post-meta">
<span>{{ post.date | date: "%B %-d, %Y" }}</span>
</div>
<div class="post-header">
<h4><a href="{{ post.url }}">{{ post.title }}<br>{{ post.subtitle }}</a></h4>
</div>
<div class="post-media">
<div class="owl-carousel item1-carousel nf-carousel-theme">
<div class="item">
{% assign iconPrefix = post.icon | slice: 0, 4 %}
{% if iconPrefix == "http" %}
<img src="{{ post.icon }}" alt="" />
{% else %}
<img src="{{ site.baseurl }}{{ post.icon }}" alt="" />
{% endif %}
</div>
</div>
</div>
<div class="post-entry">
{{ post.excerpt }}
</div>
<div class="pull-right">
<a class="btn btn-sm btn-color-line" href="{{ site.baseurl }}{{ post.url }}">Read More<i class="fa fa-long-arrow-right right"></i></a>
</div>
</div>
<!-- End Post Item -->
<hr/>
{% endfor %}
</div>
</div>
</div>
</section>
{% include footer.html %}