jekyll-zeta 0.3.5.1 → 0.3.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_config.yml +1 -0
- data/_includes/archive_list.html +15 -1
- data/_includes/post_list.html +17 -1
- data/_layouts/post.html +3 -4
- data/_layouts/tagpage.html +7 -13
- data/_sass/jekyll-zeta.scss +4 -0
- data/assets/image/lock1.png +0 -0
- data/assets/image/lock2.png +0 -0
- data/assets/image/lock3.png +0 -0
- data/assets/image/lock4.png +0 -0
- metadata +11 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6a50510d78c133db937f81499c2cfb2eacba5a383e33f0a90be8ba8663d5697
|
4
|
+
data.tar.gz: 11d985f74e6fca7711ce02e268fe9958ee8654597d4432b807b8141c50faf255
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82c3025b5bdea9113a1dafdedeed30f3e80d0fb40efc814b86454441ea08762cb26bea145c8abdf72de453dd9612246f0c7b2bfa5e9dfb3581d0816f3a5fc4dd
|
7
|
+
data.tar.gz: 3d51075e87da550c3867c3f1c52c72c36adcef705b75e0513047796ed19780544b76d66fcb6757c0a2e765cebfc17b104589d38e3d81eeb74215556f93a55238
|
data/_config.yml
CHANGED
data/_includes/archive_list.html
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
{% assign archive_date_titleformat = site.theme_config.archive_title_date_format | default: "%m-%d" %}
|
9
9
|
|
10
10
|
{% assign yCounter = 0 %}
|
11
|
+
{% assign lock_path = site.theme_config.lock_path %}
|
11
12
|
<ul class="postlistul">
|
12
13
|
{%- for post in posts limit: include.limit -%}
|
13
14
|
{% assign ymCur = post.date | date: archive_date_format %}
|
@@ -27,8 +28,21 @@
|
|
27
28
|
{% assign ymPre = ymCur %}
|
28
29
|
|
29
30
|
<li class="postlistli">
|
31
|
+
{% if lock_path.size > 0 %}
|
32
|
+
{%- assign encid = "" | get_encrypt_id:post | default: "" -%}
|
33
|
+
{% if encid.size > 1 %}
|
34
|
+
<div >
|
35
|
+
<a href="{{ post.url | relative_url }} ">{{ post.title }}</a>
|
36
|
+
<img style="width:12px;height:12px;display: inline;margin-left: 5px;" src="{{ lock_path | relative_url}}">
|
37
|
+
</div>
|
38
|
+
{% else %}
|
30
39
|
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
31
|
-
|
40
|
+
{% endif %}
|
41
|
+
{% else %}
|
42
|
+
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
43
|
+
{%endif%}
|
44
|
+
<date datetime="{{post.date}}">{{- post.date | date: archive_date_titleformat }}</date>
|
45
|
+
|
32
46
|
</li>
|
33
47
|
|
34
48
|
{%- endfor -%}
|
data/_includes/post_list.html
CHANGED
@@ -11,10 +11,26 @@
|
|
11
11
|
{%-endif-%}
|
12
12
|
|
13
13
|
{%- if posts.size > 0 -%}
|
14
|
+
{% assign lock_path = site.theme_config.lock_path %}
|
14
15
|
<ul class="postlistul">
|
15
16
|
{%- for post in posts limit: include.limit -%}
|
16
17
|
<li class="postlistli">
|
17
|
-
|
18
|
+
{% if lock_path.size > 0 %}
|
19
|
+
{%- assign encid = "" | get_encrypt_id:post | default: "" -%}
|
20
|
+
{% if encid.size > 1 %}
|
21
|
+
<div >
|
22
|
+
<a href="{{ post.url | relative_url }} ">{{ post.title }}</a>
|
23
|
+
<img style="width:12px;height:12px;display: inline;margin-left: 5px;" src="{{ lock_path | relative_url}}">
|
24
|
+
</div>
|
25
|
+
{% else %}
|
26
|
+
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
27
|
+
{% endif %}
|
28
|
+
|
29
|
+
{%else%}
|
30
|
+
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
31
|
+
{% endif %}
|
32
|
+
|
33
|
+
|
18
34
|
<date>{{- post.date | date: site.theme_config.date_format -}}</date>
|
19
35
|
</li>
|
20
36
|
{%- endfor -%}
|
data/_layouts/post.html
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
|
5
|
-
<article>
|
6
4
|
{% assign titlelen = page.title.size %}
|
7
5
|
{% if titlelen > 0 %}
|
8
6
|
<h2>{{ page.title }}</h2>
|
@@ -11,8 +9,9 @@ layout: default
|
|
11
9
|
{% for tag in page.tags %}
|
12
10
|
{% capture tag_name %}{{ tag }}{% endcapture %}
|
13
11
|
<a href="{{ site.baseurl }}/tags/{{ tag_name }}.html"><text><nobr>#{{ tag_name }}</nobr></text> </a>
|
14
|
-
|
15
|
-
|
12
|
+
{% endfor %}
|
13
|
+
|
14
|
+
<article>
|
16
15
|
{%- assign encid = "" | get_encrypt_id:page -%}
|
17
16
|
{%- if encid == '' -%}
|
18
17
|
{{ content }}
|
data/_layouts/tagpage.html
CHANGED
@@ -1,18 +1,12 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
<ariticle>
|
5
|
-
<h2>Tag: {{ page.tag }}</h2>
|
6
4
|
|
7
|
-
<
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
{% endfor %}
|
5
|
+
<h2>Tag: {{ page.tag }}</h2>
|
6
|
+
{% assign posts = site.tags[page.tag] %}
|
7
|
+
{%
|
8
|
+
include post_list.html
|
9
|
+
collection = posts
|
10
|
+
-%}
|
14
11
|
|
15
|
-
|
16
|
-
</ul>
|
17
|
-
</ariticle>
|
18
|
-
|
12
|
+
|
data/_sass/jekyll-zeta.scss
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
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.5.
|
4
|
+
version: 0.3.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vitock
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 0.6.0
|
55
|
-
description:
|
55
|
+
description:
|
56
56
|
email:
|
57
57
|
- r
|
58
58
|
executables: []
|
@@ -84,13 +84,17 @@ files:
|
|
84
84
|
- _layouts/tags.html
|
85
85
|
- _sass/jekyll-zeta.scss
|
86
86
|
- assets/css/main.scss
|
87
|
+
- assets/image/lock1.png
|
88
|
+
- assets/image/lock2.png
|
89
|
+
- assets/image/lock3.png
|
90
|
+
- assets/image/lock4.png
|
87
91
|
- assets/js/mouse_coords.js
|
88
92
|
- index.html
|
89
93
|
homepage: https://github.com/vitock/jekyll-zeta
|
90
94
|
licenses:
|
91
95
|
- GPL
|
92
96
|
metadata: {}
|
93
|
-
post_install_message:
|
97
|
+
post_install_message:
|
94
98
|
rdoc_options: []
|
95
99
|
require_paths:
|
96
100
|
- lib
|
@@ -105,8 +109,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
109
|
- !ruby/object:Gem::Version
|
106
110
|
version: '0'
|
107
111
|
requirements: []
|
108
|
-
rubygems_version: 3.
|
109
|
-
signing_key:
|
112
|
+
rubygems_version: 3.0.3.1
|
113
|
+
signing_key:
|
110
114
|
specification_version: 4
|
111
115
|
summary: A clean fast, minimalist Jekyll theme.
|
112
116
|
test_files: []
|