-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathblog.html
More file actions
26 lines (25 loc) · 796 Bytes
/
blog.html
File metadata and controls
26 lines (25 loc) · 796 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
---
layout: default
title: Blog
subtitle: Get the latest
permalink: /blog/
---
<div id="blog">
<div class="container">
{% for post in site.posts %}
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-4 centered">
<div class="blog-image">
<img class="cover" src="{{ site.baseurl }}/img/blog/{{ post.img }}">
</div>
</div>
<div class="col-lg-8 col-md-8 col-sm-8">
<a href="{{ post.url | prepend: site.baseurl }}"><h4>{{ post.title }}</h4></a>
<p class="post-date">{{ post.date | date: '%B %d, %Y' }}</p>
<p>{{ post.content | strip_html | truncatewords: 30 }}</p>
<p><a href="{{ post.url | prepend: site.baseurl }}" class="btn-default">Read More</a></p>
</div>
</div>
{% endfor %}
</div>
</div>