jekyll-zeta 0.3.5.1 → 0.3.5.2
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/tagpage.html +7 -13
- 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 +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95f3374193d9575ead25b191832167575f41277960a5f50559b8481cb180f515
|
4
|
+
data.tar.gz: e4b26630fa17f62e7d69e66d87c8275c460d948ed5542199a63c459cd7235e19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6aa64ecd1de19c5c9dcb2484afca9e134843798cea14336f3abaef5ad5b63869a4acdb678b644e95cff096d0014aea51fa9f229ae5b0a3ed5d7bf683f6800659
|
7
|
+
data.tar.gz: 1e7ed205ba53f29ab4f873fd1a876a5fb0b99f2d4d36cb7d60a13dfa699f15297d597333658629319a9f39a64cc836dbe735eec68ecaa76baee122498fde2f9b
|
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/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
|
+
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vitock
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -84,6 +84,10 @@ 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
|