-
Notifications
You must be signed in to change notification settings - Fork 113
/
blog.html
49 lines (44 loc) · 1.45 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
---
layout: default_style
permalink: /blog
published: true
---
<!-- Main Container -->
<div id="banners"></div>
<div class="container">
{% for post in site.posts %}
<div class="blog-post">
<h1 class="blog-title">
<i class="fa fa-file-text"></i>
{{ post.title }}
</h1>
<br>
<img src="assets/img/slider/{{ post.picture }}" alt="Feature-img" align="right" width="100%" class="blog-image">
<br>
<p>{{ post.description }}</p>
<span class="badge">{{ post.date | date: '%B %d, %Y' }}</span>
<div class="pull-right">
{% if post.label_default %}
<span class="label label-default">{{ post.label_default }}</span>
{% endif %}
{% if post.label_primary %}
<span class="label label-primary">{{ post.label_primary }}</span>
{% endif %}
{% if post.label_success %}
<span class="label label-success">{{ post.label_success }}</span>
{% endif %}
{% if post.label_info %}
<span class="label label-info">{{ post.label_info }}</span>
{% endif %}
{% if post.label_warning %}
<span class="label label-warning">{{ post.label_warning }}</span>
{% endif %}
{% if post.label_danger %}
<span class="label label-danger">{{ post.label_danger }}</span>
{% endif %}
</div>
</div>
<hr>
{% endfor %}
</div>
<!--End Main Container -->