-
Notifications
You must be signed in to change notification settings - Fork 6
/
blog.html
executable file
·34 lines (27 loc) · 1.05 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
---
layout: blog
title: Blog
permalink: /blog/
---
<div class="container mtb">
<div class="row">
<!-- BLOG POSTS LIST -->
<div class="col-lg-8">
{% for post in site.posts %}
<!-- Blog Post -->
{% if post.img %}
<a href="{{ post.url | prepend: site.baseurl }}">
<img class="img-responsive" src="{{ "/assets/img/blog/" | prepend: site.baseurl }}{{ post.img }}">
</a>
{% endif %}
<a href="{{ post.url | prepend: site.baseurl }}"><h3 class="ctitle">{{ post.title }}</h3></a>
<p><csmall>{{ post.date | date: "%b %-d, %Y" }}. | By: {{ post.author }}</csmall></p>
{{ post.excerpt }}
<p><a href="{{ post.url | prepend: site.baseurl }}">[Read More]</a></p>
<div class="hline"></div>
<div class="spacing"></div>
{% endfor %}
</div><!--/col-lg-8 -->
{% include sidebar.html %}
</div><!--/row -->
</div><!--/container -->