jekyll-zeta 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf97e99c112816acab26b6cd200998299ae18d3e7675f13169a846bb3defc855
4
- data.tar.gz: 889f162716e1d36e4dbb630721e4c886fa9b8ed25377f9d73b273b59df29efc0
3
+ metadata.gz: 6205a0c7da13ffe8939eac5300a1ddc53c2f771f4890f2f0e5d03480754756c7
4
+ data.tar.gz: 18cf587c2db46bd393399b66df133f68ab9138ed97dee455e503f841ae9d1239
5
5
  SHA512:
6
- metadata.gz: d6dfde865adec922758dae8091de292c44b06043db84ab7b411f5e84f0c894e72df544931339ceb671f5227c0f94ed8def73992f9a0c0c9655a2ca1d031fac64
7
- data.tar.gz: b0657964d6fc4ef9ae45ca64f56029815ce81ea4024c7a3482b4787f15eef961e1f5c863f7aae3f42020b96374c77de3bcd42f790f2c7efd26023216852411af
6
+ metadata.gz: 32982d95c9409a4163de87d866b5f3757b1cf16bc1d8a6c7ba4e38c42dc55ded7792e8a8868e5dd18914fac5b5a42937821f1b9993b2d987eb23088e9f91b519
7
+ data.tar.gz: c76e7c7603dd1bff0b987a87cfc3a06245dd03fa39cf2d872b581f97238eb7cfa31128c1ce4e4abb2fdbe91cdf78c907ee34a508277ffc9ce7272cbef197cf75
@@ -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
- <h2>{{ page.title }}</h2>
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
+ %}
@@ -2,44 +2,8 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
-
6
- <h1>{{ page.title }}</h1>
7
-
8
- {%-assign nextPage = site.paginate_path | replace: ':num', '2' -%}
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.1
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