forked from scottdorman/scottdorman.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (40 loc) · 1.29 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
32
33
34
35
36
37
38
39
40
41
42
43
---
layout: default
title: Home
---
<div class="container-fluid" role="main">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<header class="header-section">
<div class="intro-header no-img">
</div>
</header>
<div class="posts-list">
{% for post in paginator.posts %}
<article class="post-preview">
<h2 class="post-title"><a href="{{ post.url }}">{{ post.title }}</a></h2>
{% include post/meta.html %}
<div class="post-entry">
{{ post.content | truncatewords: 50 | strip_html | xml_escape}}
<a href="{{ post.url }}" class="post-read-more">[Read More]</a>
</div>
</article>
{% endfor %}
</div>
{% if paginator.total_pages > 1 %}
<ul class="pager main-pager">
{% if paginator.previous_page %}
<li class="previous">
<a href="{{ paginator.previous_page_path | replace: '//', '/' }}">← Newer Posts</a>
</li>
{% endif %}
{% if paginator.next_page %}
<li class="next">
<a href="{{ paginator.next_page_path | replace: '//', '/' }}">Older Posts →</a>
</li>
{% endif %}
</ul>
{% endif %}
</div>
</div>
</div>