-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
63 lines (54 loc) · 1.94 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
layout: page
---
{% for post in paginator.posts %}
<h1 style="text-align: center">{{ post.title }}</h1>
<p style="text-align: center"><a href="{{ site.baseurl }}{{ post.url }}">
{% assign m = post.date | date: "%-m" %}
{{ post.date | date: "%d" }}
{% case m %}
{% when '1' %}Am Faoilleach
{% when '2' %}An Gearran
{% when '3' %}Am Màrt
{% when '4' %}An Giblean
{% when '5' %}An Cèitean
{% when '6' %}An t-Ògmhios
{% when '7' %}An t-Iuchar
{% when '8' %}An Lùnastal
{% when '9' %}An t-Sultain
{% when '10' %}An Dàmhair
{% when '11' %}An t-Samhain
{% when '12' %}An Dùbhlachd
{% endcase %}
{{ post.date | date: "%Y" }}
<i class="fa-regular fa-angles-right"></i></a></p>
{% if post.image %}
<img src="{{ site.baseurl }}{{ post.image }}" class="post-image">
{% endif %}
{{ post.content }}
<h1 style="text-align: center">• • •</h1>
{% endfor %}
<div style="margin-top: 28px">
{% if paginator.total_pages > 1 %}
<ul class="pagination justify-content-center">
{% if paginator.next_page %}
<li class="page-item active">
<a class="page-link" href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}"><i class="fa fa-arrow-circle-left"></i> Nas sìne</a>
</li>
{% else %}
<li class="page-item disabled">
<span class="page-link"><i class="fa fa-arrow-circle-left"></i> Nas sìne</span>
</li>
{% endif %}
{% if paginator.previous_page %}
<li class="page-item active">
<a class="page-link" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">Nas ùire <i class="fa fa-arrow-circle-right"></i></a>
</li>
{% else %}
<li class="page-item disabled">
<span class="page-link">Nas ùire <i class="fa fa-arrow-circle-right"></i></span>
</li>
{% endif %}
</ul>
{% endif %}
</div>