-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathblog.html
More file actions
34 lines (31 loc) · 869 Bytes
/
blog.html
File metadata and controls
34 lines (31 loc) · 869 Bytes
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
---
layout: page
title: Blog
permalink: /blog/
---
<h2>Blog</h2>
<section id="blog-index">
<div class="container">
<div class="row">
<div class="col-md-8">
{% for post in site.posts %}
<div class="post-area">
{% if post.img %}
<figure>
<img src="{{ site.baseurl }}/img/{{ post.img.small }}" alt="{{ post.img.alt }}" />
<figcaption>{{ post.img.caption }}</figcaption>
</figure>
{% endif %}
<a href="{{ post.url | prepend: site.baseurl }}" class="bold">{{ post.title }}</a>
<p class="post-date">{{ post.date | date_to_long_string }}</p>
<p>
{{ post.content | strip_html | truncatewords: 50 }}
</p>
</div>
{% endfor %}
</div>
</div>
</div>
<div class="col-md-4">
</div>
</section>