jekyll-zeta 0.3.0 → 0.3.2
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/_config.yml +1 -0
- data/_includes/home.html +13 -0
- data/_includes/paginate.html +41 -0
- data/_layouts/home.html +2 -13
- data/_layouts/paginate.html +5 -41
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6205a0c7da13ffe8939eac5300a1ddc53c2f771f4890f2f0e5d03480754756c7
|
|
4
|
+
data.tar.gz: 18cf587c2db46bd393399b66df133f68ab9138ed97dee455e503f841ae9d1239
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 32982d95c9409a4163de87d866b5f3757b1cf16bc1d8a6c7ba4e38c42dc55ded7792e8a8868e5dd18914fac5b5a42937821f1b9993b2d987eb23088e9f91b519
|
|
7
|
+
data.tar.gz: c76e7c7603dd1bff0b987a87cfc3a06245dd03fa39cf2d872b581f97238eb7cfa31128c1ce4e4abb2fdbe91cdf78c907ee34a508277ffc9ce7272cbef197cf75
|
data/_config.yml
CHANGED
data/_includes/home.html
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<h2>{{ page.title }}</h2>
|
|
2
|
+
|
|
3
|
+
{%-assign nextPage = site.paginate_path | replace: ':num', '2' -%}
|
|
4
|
+
|
|
5
|
+
{%
|
|
6
|
+
include post_list.html
|
|
7
|
+
limit=site.paginate
|
|
8
|
+
show_more=true
|
|
9
|
+
show_more_text=site.theme_config.show_more_text
|
|
10
|
+
show_more_url= nextPage
|
|
11
|
+
-%}
|
|
12
|
+
|
|
13
|
+
{{ content }}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
|
|
2
|
+
<h2>{{ page.title }}</h2>
|
|
3
|
+
|
|
4
|
+
{%-assign nextPage = site.paginate_path | replace: ':num', '2' -%}
|
|
5
|
+
|
|
6
|
+
{%
|
|
7
|
+
include archive_list.html
|
|
8
|
+
collection=paginator.posts
|
|
9
|
+
limit=site.paginate
|
|
10
|
+
-%}
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
{{ content }}
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
<div class="pagebar">
|
|
18
|
+
|
|
19
|
+
{% if paginator.previous_page %}
|
|
20
|
+
<a href="{{ paginator.previous_page_path | relative_url}}" class="previous">
|
|
21
|
+
{{ site.theme_config.previous_page_title | default: "Previous" }}
|
|
22
|
+
</a>
|
|
23
|
+
{% else %}
|
|
24
|
+
<span class="previous">
|
|
25
|
+
{{ site.theme_config.previous_page_title | default: "Previous" }}
|
|
26
|
+
</span>
|
|
27
|
+
{% endif %}
|
|
28
|
+
<span class="page_number ">
|
|
29
|
+
{{ paginator.page }}/{{ paginator.total_pages }}
|
|
30
|
+
</span>
|
|
31
|
+
{% if paginator.next_page %}
|
|
32
|
+
<a href="{{ paginator.next_page_path | relative_url }}" class="next">
|
|
33
|
+
{{ site.theme_config.next_page_title | default: "Next" }}
|
|
34
|
+
</a>
|
|
35
|
+
{% else %}
|
|
36
|
+
<span class="next ">
|
|
37
|
+
{{ site.theme_config.next_page_title | default: "Next" }}
|
|
38
|
+
</span>
|
|
39
|
+
{% endif %}
|
|
40
|
+
</div>
|
|
41
|
+
|
data/_layouts/home.html
CHANGED
|
@@ -2,16 +2,5 @@
|
|
|
2
2
|
layout: default
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
{%-assign nextPage = site.paginate_path | replace: ':num', '2' -%}
|
|
8
|
-
|
|
9
|
-
{%
|
|
10
|
-
include post_list.html
|
|
11
|
-
limit=site.paginate
|
|
12
|
-
show_more=true
|
|
13
|
-
show_more_text=site.theme_config.show_more_text
|
|
14
|
-
show_more_url= nextPage
|
|
15
|
-
-%}
|
|
16
|
-
|
|
17
|
-
{{ content }}
|
|
5
|
+
{% include home.html
|
|
6
|
+
%}
|
data/_layouts/paginate.html
CHANGED
|
@@ -2,44 +2,8 @@
|
|
|
2
2
|
layout: default
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
{
|
|
9
|
-
|
|
10
|
-
{%
|
|
11
|
-
include archive_list.html
|
|
12
|
-
collection=paginator.posts
|
|
13
|
-
limit=site.paginate
|
|
14
|
-
-%}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
{{ content }}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
<div class="pagebar">
|
|
22
|
-
|
|
23
|
-
{% if paginator.previous_page %}
|
|
24
|
-
<a href="{{ paginator.previous_page_path | relative_url}}" class="previous">
|
|
25
|
-
{{ site.theme_config.previous_page_title | default: "Previous" }}
|
|
26
|
-
</a>
|
|
27
|
-
{% else %}
|
|
28
|
-
<span class="previous">
|
|
29
|
-
{{ site.theme_config.previous_page_title | default: "Previous" }}
|
|
30
|
-
</span>
|
|
31
|
-
{% endif %}
|
|
32
|
-
<span class="page_number ">
|
|
33
|
-
{{ paginator.page }}/{{ paginator.total_pages }}
|
|
34
|
-
</span>
|
|
35
|
-
{% if paginator.next_page %}
|
|
36
|
-
<a href="{{ paginator.next_page_path | relative_url }}" class="next">
|
|
37
|
-
{{ site.theme_config.next_page_title | default: "Next" }}
|
|
38
|
-
</a>
|
|
39
|
-
{% else %}
|
|
40
|
-
<span class="next ">
|
|
41
|
-
{{ site.theme_config.next_page_title | default: "Next" }}
|
|
42
|
-
</span>
|
|
43
|
-
{% endif %}
|
|
44
|
-
</div>
|
|
45
|
-
|
|
5
|
+
{% if paginator.page == 1 %}
|
|
6
|
+
{% include home.html %}
|
|
7
|
+
{% else %}
|
|
8
|
+
{% include paginate.html %}
|
|
9
|
+
{% endif %}
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-zeta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- vitock
|
|
@@ -68,9 +68,11 @@ files:
|
|
|
68
68
|
- _includes/encrypted.html
|
|
69
69
|
- _includes/goat_counter.html
|
|
70
70
|
- _includes/head.html
|
|
71
|
+
- _includes/home.html
|
|
71
72
|
- _includes/main.css
|
|
72
73
|
- _includes/menu_item.html
|
|
73
74
|
- _includes/navbar.html
|
|
75
|
+
- _includes/paginate.html
|
|
74
76
|
- _includes/post_list.html
|
|
75
77
|
- _layouts/archive.html
|
|
76
78
|
- _layouts/default.html
|