-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog.html
68 lines (48 loc) · 1.37 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
61
62
63
64
65
66
67
68
---
layout: default
---
<!-- Blog start -->
{% include nav.html %}
<section id="blog-page" class="module">
<div class="container">
<div class="row">
<div class="module-header">
<h2 class="module-title">
Blog
<span>Blog</span>
</h2>
<div class="module-line"></div>
</div>
</div><!-- .row -->
<!-- Blog Filter start-->
<div class="row">
<div class="col-sm-12">
<ul id="filter">
<li class="active" data-group="all">All</li>
{% assign categories = site.posts | map: 'category' | uniq %}
{% for category in categories %}
<li data-group="{{ category }}">{{ category }}</li>
{% endfor %}
</ul>
</div>
</div><!-- .row -->
<!-- Blog Filter end -->
<ul class="list-items-container blog-wrapper">
{% for post in site.posts %}
<li class="list-item" data-groups="all {{ post.category }}">
<a href="{{site.baseurl}}{{post.url}}" class="blogList wow fadeInUp">
<div class="blogList-img">
<img src="{{ "/assets/images/" | append: post.banner_preview | prepend: site.baseurl }}" alt="Blog Desc">
<span>{{ post.category }}</span>
</div>
<div class="blogList-desc">
<h3>{{ post.title }}</h3>
<div>{{ post.description }}</div>
</div>
</a>
</li>
{% endfor %}
</ul><!-- .projects-container -->
</div><!-- .contaier -->
</section>
<!-- Blog start -->