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 +4 -4
- data/_includes/home.html +15 -0
- data/_includes/paginate.html +39 -0
- data/_layouts/archive.html +3 -4
- data/_layouts/home.html +2 -13
- data/_layouts/page.html +3 -3
- data/_layouts/paginate.html +5 -42
- data/_layouts/post.html +7 -5
- data/_layouts/tags.html +4 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 712cb5e4670b18fa391c30d4f6873dd643ef5f3a01c7ef2a9318cda24636e98c
|
4
|
+
data.tar.gz: 66839528c58c8b12965f869f60b4dd2c3328cac7a97e661929fbe2ee16eedbea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecc2b8473d806dfa8bfcbc2847983ecacbcc3424f39660f59d1ff2032c9e49b68270c3268b291959ee06570b4516c5b58512e04b72af2fe61d57715caf198248
|
7
|
+
data.tar.gz: 5377d14d586b45827f763356d8b968fd4cf037e92b4c248ae7299f219aaca7c97a4b12ff7bdabe53efd3f4fd4e4a258d3370a80c6d4472cd011bf3b0d7789e3a
|
data/_includes/home.html
ADDED
@@ -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
|
+
|
data/_layouts/archive.html
CHANGED
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/page.html
CHANGED
data/_layouts/paginate.html
CHANGED
@@ -1,45 +1,8 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
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
|
-
|
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
|
-
|
10
|
-
|
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>
|
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> </a>
|
14
16
|
{% endfor %}</span>
|
15
17
|
|
16
|
-
{%-
|
18
|
+
{%- assign encid = "" | get_encrypt_id:page -%}
|
17
19
|
{%- if encid == '' -%}
|
18
20
|
{{ content }}
|
19
21
|
{% else %}
|
data/_layouts/tags.html
CHANGED
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-
|
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
|