-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblog.html
More file actions
53 lines (38 loc) · 1.18 KB
/
Copy pathblog.html
File metadata and controls
53 lines (38 loc) · 1.18 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
52
53
---
layout: blog_page
---
<!-- Page Content -->
{% for post in site.posts %}
{% assign mod = forloop.index0 | modulo: 4 %}
{% if mod==0 %}
<div class="row blog-row">
{% endif %}
<div class="col-sm-3">
<div class="thumbnail">
<p id="top">
{{post.category}}
<span id="block-date"> {{ post.date | date_to_string}} </span>
</p>
<img src="{{site.baseurl}}/{{ post.imgsrc }}" class = "img-fluid">
<div class="middle">
<a href="{{site.baseurl}}{{post.url}}">
<h1><span class="glyphicon glyphicon-eye-open" aria-hidden="true"></span></h1>
</a>
</div>
<div class="caption">
<h3>{{ post.title }}</h3>
{% if post.description %}
<h5>{{ post.description }}</h5>
{% endif %}
<p id="tag">
{% for tag in post.tags %}
<a href="#"><span class="label label-default"><span class="glyphicon glyphicon-tag" aria-hidden="true"></span> {{ tag }}</span></a>
{% endfor %}
</p>
</div>
</div>
</div>
{% if mod==3 %}
</div>
{% endif %}
{% endfor %}