-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
48 lines (45 loc) · 1.31 KB
/
index.html
File metadata and controls
48 lines (45 loc) · 1.31 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
---
layout: default
title: Home
---
<div class="posts">
<h2>📰 Bulletin</h2>
<!-- This loops through the paginated posts -->
{% for post in paginator.posts %}
<span style="text-decoration: underline;">{{ post.date | date_to_string }}. — <a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></span>
<!-- <br/> -->
<!-- <div class="content">
{{ post.content }}
</div> -->
<p>
<div class="content" style="margin-top: -15px;">
{% if post.content.size > post.excerpt.size %}
{{ post.excerpt | remove: "<p>" | remove: "</p>" }}
<a href="{{ post.url }}">(read more...)</a>
{% else %}
{{ post.excerpt | remove: "<p>" | remove: "</p>" }}
{% endif %}
</div>
</p>
{% endfor %}
</div>
<!-- Pagination links -->
<div class="pagination">
<span class="page_number ">
Page: {{ paginator.page }} of {{ paginator.total_pages }}
</span>
|
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path }}" class="previous">
Previous
</a>
{% else %}
<span class="previous">Previous</span>
{% endif %}
|
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" class="next">Next</a>
{% else %}
<span class="next">Next</span>
{% endif %}
</div>