-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (48 loc) · 1.7 KB
/
index.html
File metadata and controls
53 lines (48 loc) · 1.7 KB
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
52
53
---
layout: default
---
<div class="home">
<!--<h1 class="page-heading">Posts <small>({{ paginator.total_posts }})</small></h1>-->
<header class="post-title"><h4>Posts</h4></header>
<br/>
<ul class="post-list">
{% for post in paginator.posts %}
<li>
<h3><a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
<span class="post-meta">{{ post.date | date:"%b %-d, %Y" }}</span>
</br>
{% if post.description %}
<small>
{{ post.description }}
<!--</br>
<a href="{{ post.url | prepend: site.baseurl }}">Read More</a>-->
</small>
{% endif %}
{% if post.tags %}
</br>
<small class="tags">
<i class="fa fa-tags" aria-hidden="true"></i>
{% for tag in post.tags %}
{% if forloop.index0 != 0 %} {% endif %}{{ tag }}
{% endfor %}
</small>
{% endif %}
</h3>
</li>
{% endfor %}
</ul>
<!--<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p>-->
{% if paginator.total_pages > 1 %}
<div class="pagination" align="center">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">NEW</a>
{% endif %}
{% if paginator.previous_page && paginator.next_page %}
-
{% endif %}
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">OLDER</a>
{% endif %}
</div>
{% endif %}
</div>