-
Notifications
You must be signed in to change notification settings - Fork 8
/
blog.html
35 lines (34 loc) · 890 Bytes
/
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
---
layout: layout
title: Blog
---
<div class="container">
<h3>Blog</h3>
<div class="panel panel-default">
<div class="panel-body">
{% for post in site.posts %}
<div class="row">
<div class="col-sm-3 col-md-3 col-lg-3">
<h5 style="text-align: right">
{{ post.date | date: "%B %e, %Y" }}
</h5>
</div>
<div class="col-sm-6 col-md-6 col-lg-6">
<h5 style="text-align: left">
{% if post.external_url %}
<strong><a href="{{ post.external_url }}">{{ post.title }}</a></strong>
{% else %}
<strong><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></strong>
{% endif %}
</h5>
</div>
<div class="col-sm-3 col-md-3 col-lg-3">
<h5 style="text-align: left">
by <strong>{{ post.author }}</strong>
</h5>
</div>
</div>
{% endfor %}
</div>
</div>
</div>