-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
31 lines (30 loc) · 1.1 KB
/
index.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
---
layout: default
index: true
---
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-8">
<div class="blog-post-small">
{% for post in site.posts %}
<div class="blog-post-preview">
<div class="blog-post-header">
<h3><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h3>
<p><i class="fa fa-calendar"></i> {{ post.date | date: "%b %-d, %Y" }} {% if site.disqus_short_name and page.comments != false and site.disqus_show_comment_count == true %} | <a href="{% if page.index %}{{ post.url | prepend: site.baseurl }}{% endif %}#disqus_thread">Comments</a> {% endif %}
</p>
</div>
{% if post.content contains '<!-- more -->' %}
<p>
{{ post.content | split: '<!-- more -->' | first }}
<br />
<a href="{{ post.url | prepend: site.baseurl }}" class="btn btn-primary btn-sm button-read-more">Read More</a>
</p>
{% else %}
{{ post.content }}
{% endif %}
</div>
{% endfor %}
</div>
</div>
<div class="col-md-2"></div>
</div>