-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog.html
51 lines (50 loc) · 1.31 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
layout: layout
title: Blog
---
<div class="container">
<h3>Latest Post</h3>
<div class="panel panel-default">
<div class="panel-body">
{% for post in site.posts limit:1 %}
<div class="row">
<div class="col-sm-4 col-md-4 col-lg-4">
<h5 style="text-align: right">{{ post.date | date: "%B %e, %Y" }}</h5>
</div>
<div class="col-sm-8 col-md-8 col-lg-8">
<h5 style="text-align: left">
<strong
><a href="{{ site.url }}{{ post.url }}"
>{{ post.title }}</a
></strong
>
</h5>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
<div class="container">
<h3>Archive</h3>
<div class="panel panel-default">
<div class="panel-body">
{% for post in site.posts offset:1 %}
<div class="row">
<div class="col-sm-4 col-md-4 col-lg-4">
<h5 style="text-align: right">{{ post.date | date: "%B %e, %Y" }}</h5>
</div>
<div class="col-sm-8 col-md-8 col-lg-8">
<h5 style="text-align: left">
<strong
><a href="{{ site.url }}{{ post.url }}"
>{{ post.title }}</a
></strong
>
</h5>
</div>
</div>
{% endfor %}
</div>
</div>
</div>