jekyll-zeta 0.3.1 → 0.3.2.1

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: 712cb5e4670b18fa391c30d4f6873dd643ef5f3a01c7ef2a9318cda24636e98c
4
+ data.tar.gz: 66839528c58c8b12965f869f60b4dd2c3328cac7a97e661929fbe2ee16eedbea
5
5
  SHA512:
6
- metadata.gz: d6dfde865adec922758dae8091de292c44b06043db84ab7b411f5e84f0c894e72df544931339ceb671f5227c0f94ed8def73992f9a0c0c9655a2ca1d031fac64
7
- data.tar.gz: b0657964d6fc4ef9ae45ca64f56029815ce81ea4024c7a3482b4787f15eef961e1f5c863f7aae3f42020b96374c77de3bcd42f790f2c7efd26023216852411af
6
+ metadata.gz: ecc2b8473d806dfa8bfcbc2847983ecacbcc3424f39660f59d1ff2032c9e49b68270c3268b291959ee06570b4516c5b58512e04b72af2fe61d57715caf198248
7
+ data.tar.gz: 5377d14d586b45827f763356d8b968fd4cf037e92b4c248ae7299f219aaca7c97a4b12ff7bdabe53efd3f4fd4e4a258d3370a80c6d4472cd011bf3b0d7789e3a
@@ -0,0 +1,15 @@
1
+ {% assign titlelen = page.title.size %}
2
+ {% if titlelen > 0 %}
3
+ <h2>{{ page.title }}</h2>
4
+ {% endif %}
5
+ {%-assign nextPage = site.paginate_path | replace: ':num', '2' -%}
6
+
7
+ {%
8
+ include post_list.html
9
+ limit=site.paginate
10
+ show_more=true
11
+ show_more_text=site.theme_config.show_more_text
12
+ show_more_url= nextPage
13
+ -%}
14
+
15
+ {{ content }}
@@ -0,0 +1,39 @@
1
+ {% assign titlelen = page.title.size %}
2
+ {% if titlelen > 0 %}
3
+ <h2>{{ page.title }}</h2>
4
+ {% endif %}
5
+ {%-assign nextPage = site.paginate_path | replace: ':num', '2' -%}
6
+ {%
7
+ include archive_list.html
8
+ collection=paginator.posts
9
+ limit=site.paginate
10
+ -%}
11
+
12
+ {{ content }}
13
+
14
+
15
+ <div class="pagebar">
16
+
17
+ {% if paginator.previous_page %}
18
+ <a href="{{ paginator.previous_page_path | relative_url}}" class="previous">
19
+ {{ site.theme_config.previous_page_title | default: "Previous" }}
20
+ </a>
21
+ {% else %}
22
+ <span class="previous">
23
+ {{ site.theme_config.previous_page_title | default: "Previous" }}
24
+ </span>
25
+ {% endif %}
26
+ <span class="page_number ">
27
+ {{ paginator.page }}/{{ paginator.total_pages }}
28
+ </span>
29
+ {% if paginator.next_page %}
30
+ <a href="{{ paginator.next_page_path | relative_url }}" class="next">
31
+ {{ site.theme_config.next_page_title | default: "Next" }}
32
+ </a>
33
+ {% else %}
34
+ <span class="next ">
35
+ {{ site.theme_config.next_page_title | default: "Next" }}
36
+ </span>
37
+ {% endif %}
38
+ </div>
39
+
@@ -1,11 +1,10 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
-
5
- {%-include back_link.html-%}
6
-
4
+ {% assign titlelen = page.title.size %}
5
+ {% if titlelen > 0 %}
7
6
  <h2>{{ page.title }}</h2>
8
-
7
+ {% endif %}
9
8
 
10
9
  {%-assign posts = site.posts-%}
11
10
  {%- if posts.size > 0 -%}
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
+ %}
data/_layouts/page.html CHANGED
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
-
5
- {%-include back_link.html-%}
6
-
4
+ {% assign titlelen = page.title.size %}
5
+ {% if titlelen > 0 %}
7
6
  <h2>{{ page.title }}</h2>
7
+ {% endif %}
8
8
 
9
9
  {{ content }}
@@ -1,45 +1,8 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
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
-
4
+ {% if paginator.page == 1 %}
5
+ {% include home.html %}
6
+ {% else %}
7
+ {% include paginate.html %}
8
+ {% endif %}
data/_layouts/post.html CHANGED
@@ -2,18 +2,20 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
+
5
6
 
6
7
  <article>
7
-
8
-
9
- <h2>{{ page.title }}</h2>
10
- <time datetime="{{ page.date }}">{{ page.date | date: site.theme_config.post_date_format }}</time> &nbsp; &nbsp;
8
+ {% assign titlelen = page.title.size %}
9
+ {% if titlelen > 0 %}
10
+ <h2>{{ page.title }}</h2>
11
+ {% endif %}
12
+ <time datetime="{{ page.date }}">{{ page.date | date: site.theme_config.post_date_format }}</time> &nbsp; &nbsp;
11
13
  {% for tag in page.tags %}
12
14
  {% capture tag_name %}{{ tag }}{% endcapture %}
13
15
  <a href="{{ site.baseurl }}/tags/{{ tag_name }}.html"><text><nobr>#{{ tag_name }}</nobr></text>&nbsp;</a>
14
16
  {% endfor %}</span>
15
17
 
16
- {%- capture encid %}{{ "" | get_encrypt_id:page}}{% endcapture -%}
18
+ {%- assign encid = "" | get_encrypt_id:page -%}
17
19
  {%- if encid == '' -%}
18
20
  {{ content }}
19
21
  {% else %}
data/_layouts/tags.html CHANGED
@@ -3,7 +3,10 @@ layout: default
3
3
  ---
4
4
  {%-include back_link.html -%}
5
5
  <div class="post">
6
- <h2>{{page.title}}</h2>
6
+ {% assign titlelen = page.title.size %}
7
+ {% if titlelen > 0 %}
8
+ <h2>{{ page.title }}</h2>
9
+ {% endif %}
7
10
  <article>
8
11
  {% comment %}
9
12
  sort tags by count
metadata CHANGED
@@ -1,14 +1,14 @@
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.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - vitock
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-21 00:00:00.000000000 Z
11
+ date: 2022-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -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