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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b0866cf0f374051ec71423e9a7559e1fa32eb229d0cf946853a9a74e874cc015
4
- data.tar.gz: 9f160f677da92daa8985d4a8b7be21daa3d8e2746c47da8b38d51053d9b02681
3
+ metadata.gz: 95f3374193d9575ead25b191832167575f41277960a5f50559b8481cb180f515
4
+ data.tar.gz: e4b26630fa17f62e7d69e66d87c8275c460d948ed5542199a63c459cd7235e19
5
5
  SHA512:
6
- metadata.gz: '090baebca0ace56664a5843329b8af025c14f5f3c62b29abc055a9a21364b3cccce8b8794a4d4f863d87c9da98a0cfb4f9bd249625fc730da0fb18f18308ca24'
7
- data.tar.gz: 9be4673e1ffa7aeeb7b22eb9e113e4820457721d6b246f87d6b31c89ecf0c6f066489f4915c67259f3dec8b1994ba7ed14543848250bd47b39555e256248bf6b
6
+ metadata.gz: 6aa64ecd1de19c5c9dcb2484afca9e134843798cea14336f3abaef5ad5b63869a4acdb678b644e95cff096d0014aea51fa9f229ae5b0a3ed5d7bf683f6800659
7
+ data.tar.gz: 1e7ed205ba53f29ab4f873fd1a876a5fb0b99f2d4d36cb7d60a13dfa699f15297d597333658629319a9f39a64cc836dbe735eec68ecaa76baee122498fde2f9b
data/_config.yml CHANGED
@@ -33,6 +33,7 @@ theme_config:
33
33
  show_more_text: 'show more ...'
34
34
  next_page_title: "next"
35
35
  previous_page_title: "previous"
36
+ lock_path: "assets/image/lock1.png"
36
37
  menu:
37
38
  - title: Home
38
39
  url: /
@@ -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
- <date datetime="{{post.date}}">{{- post.date | date: archive_date_titleformat }}</date>
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 -%}
@@ -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
- <a href="{{ post.url | relative_url }}">{{ post.title }}</a>
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 -%}
@@ -1,18 +1,12 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- <ariticle>
5
- <h2>Tag: {{ page.tag }}</h2>
6
4
 
7
- <ul class="postlistul">
8
- {% for post in site.tags[page.tag] %}
9
- <li class="postlistli">
10
- <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
11
- <date>{{- post.date | date: site.theme_config.date_format -}}</date>
12
- </li>
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.1
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-10-31 00:00:00.000000000 Z
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