forest-time-jekyll 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_layouts/home.html +20 -21
- data/_sass/main.scss +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffb51bd3cc59537c9e104a6dac47cd0be39525d80560520fc73b93c42e7af255
|
4
|
+
data.tar.gz: a7669f131cb9d413dde9f362fb535cadca1b0bad72ba23043b5964662cef46ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 947e7fab76250b98b82dddb5d2d1dde707fb019f9757adfe605ba4ffee5d9b7f1e1485e73e1e4d99e2f97098f5f9d9cb916ef8880d57342aaf28b115b4519967
|
7
|
+
data.tar.gz: 88b9bb3169bc917a6a96646fcd3d98a36db350bf28815663c4576bd865de2f03406a13beacdc27aa273e92de30f4d91bf872cb3040108262e097c0a81b7b6797
|
data/_layouts/home.html
CHANGED
@@ -5,16 +5,17 @@ layout: default
|
|
5
5
|
{% include header.html %}
|
6
6
|
{% include navigation.html %}
|
7
7
|
|
8
|
-
<!--
|
8
|
+
<!-- Paginated posts -->
|
9
9
|
<section>
|
10
10
|
<ul>
|
11
11
|
{% for post in paginator.posts %}
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
12
|
+
<li>
|
13
|
+
<div class="title"><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></div>
|
14
|
+
<div class="post-date">
|
15
|
+
<time>
|
16
|
+
{% assign m = post.date | date: "%-m" %}
|
17
|
+
{{ post.date | date: "%-d" }}
|
18
|
+
{% case m %}
|
18
19
|
{% when '1' %} {{ site.data.ui-text.months.january }}
|
19
20
|
{% when '2' %} {{ site.data.ui-text.months.february }}
|
20
21
|
{% when '3' %} {{ site.data.ui-text.months.march }}
|
@@ -27,15 +28,12 @@ layout: default
|
|
27
28
|
{% when '10' %} {{ site.data.ui-text.months.october }}
|
28
29
|
{% when '11' %} {{ site.data.ui-text.months.november }}
|
29
30
|
{% when '12' %} {{ site.data.ui-text.months.december }}
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
</div>
|
37
|
-
<div class="description"> {{ post.description}} </div>
|
38
|
-
</li>
|
31
|
+
{% endcase %}
|
32
|
+
{{ post.date | date: "%Y" }}
|
33
|
+
</time>
|
34
|
+
</div>
|
35
|
+
<div class="description">{{ post.description}}</div>
|
36
|
+
</li>
|
39
37
|
{% endfor %}
|
40
38
|
</ul>
|
41
39
|
</section>
|
@@ -43,20 +41,21 @@ layout: default
|
|
43
41
|
<!-- Pagination links -->
|
44
42
|
{% if paginator.total_pages > 1 %}
|
45
43
|
<section>
|
46
|
-
<
|
44
|
+
<nav role="navigation" class="pagination">
|
47
45
|
{% if paginator.previous_page %}
|
48
46
|
<a href="{{ site.baseurl }}{{ paginator.previous_page_path }}" class="previous">
|
49
|
-
{{ site.data.ui-text.previous }}
|
47
|
+
← {{ site.data.ui-text.previous }}
|
50
48
|
</a>
|
51
49
|
{% endif %}
|
52
50
|
|
53
|
-
<span class="page_number
|
51
|
+
<span class="page_number">
|
54
52
|
{{ site.data.ui-text.page }} {{ paginator.page }} {{ site.data.ui-text.of }} {{ paginator.total_pages }}
|
55
53
|
</span>
|
56
54
|
|
57
55
|
{% if paginator.next_page %}
|
58
|
-
<a href="{{ site.baseurl }}{{ paginator.next_page_path }}" class="next">
|
56
|
+
<a href="{{ site.baseurl }}{{ paginator.next_page_path }}" class="next">
|
57
|
+
{{ site.data.ui-text.next }} →</a>
|
59
58
|
{% endif %}
|
60
|
-
</
|
59
|
+
</nav>
|
61
60
|
</section>
|
62
61
|
{% endif %}
|
data/_sass/main.scss
CHANGED