Skip to content

Commit 8943243

Browse files
authored
Update index.html
1 parent bb928aa commit 8943243

File tree

1 file changed

+1
-45
lines changed

1 file changed

+1
-45
lines changed

index.html

Lines changed: 1 addition & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -2,48 +2,4 @@
22
layout: default
33
---
44

5-
<div class="posts">
6-
{% for post in paginator.posts %}
7-
<article class="post">
8-
<a href="{{ site.baseurl }}{{ post.url }}">
9-
<h1>{{ post.title }}</h1>
10-
11-
<div>
12-
<p class="post_date">{{ post.date | date: "%B %e, %Y" }}</p>
13-
</div>
14-
</a>
15-
<div class="entry">
16-
{{ post.excerpt }}
17-
</div>
18-
19-
<a href="{{ site.baseurl }}{{ post.url }}" class="read-more">Read More</a>
20-
</article>
21-
{% endfor %}
22-
23-
<!-- pagination -->
24-
{% if paginator.total_pages > 1 %}
25-
<div class="pagination">
26-
{% if paginator.previous_page %}
27-
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&laquo; Prev</a>
28-
{% else %}
29-
<span>&laquo; Prev</span>
30-
{% endif %}
31-
32-
{% for page in (1..paginator.total_pages) %}
33-
{% if page == paginator.page %}
34-
<span class="webjeda">{{ page }}</span>
35-
{% elsif page == 1 %}
36-
<a href="{{ '/' | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a>
37-
{% else %}
38-
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
39-
{% endif %}
40-
{% endfor %}
41-
42-
{% if paginator.next_page %}
43-
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next &raquo;</a>
44-
{% else %}
45-
<span>Next &raquo;</span>
46-
{% endif %}
47-
</div>
48-
{% endif %}
49-
</div>
5+
Under construction

0 commit comments

Comments
 (0)