-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·47 lines (45 loc) · 1.5 KB
/
index.html
File metadata and controls
executable file
·47 lines (45 loc) · 1.5 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
---
layout: default
---
<div id="home" class="page-content wc-container">
<div class="posts">
{% for post in paginator.posts limit:15 %}
<div class="post">
<h3 class="post-title">
<a href="{{ post.url | prepend: site.baseurl | prepend: site.url }}">
{{ post.title }}
</a>
</h3>
<p class="post-meta">
<span class="categories">
{{ post.categories | array_to_sentence_string }}
</span> |
<span class="post-date">
{{ post.date | date: "%a, %b %-d %Y" }}
</span> |
<span class="post-date">
<a href={{post.attr}}>{{ post.author}} </a>
</span>
{{ post.excerpt }}
</p>
</div>
{% endfor %}
</div>
<!-- Pagination links -->
<div class="pagination">
</div>
<div class="post-footer">
<!-- <div class="column-full"><a href="{{ '/all_posts' | prepend: site.baseurl | prepend: site.url }}">/ all_posts</a></div> -->
<div class="column-1">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path }}" class="previous">Newer</a>
{% endif %}
</div>
<div class="column-2"><span class="page_number ">Page: {{ paginator.page }} of {{ paginator.total_pages }}</span></div>
<div class="column-3">
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" class="next">Older</a>
{% endif %}
</div>
</div>
</div>