jekyll-zeta 0.3.5.2 → 0.3.6.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/archive_list.html +20 -22
- data/_includes/collecttags.html +17 -17
- data/_includes/encrypted.html +3 -10
- data/_includes/head.html +10 -10
- data/_includes/home.html +3 -3
- data/_includes/navbar.html +6 -9
- data/_includes/paginate.html +10 -12
- data/_includes/post_list.html +21 -23
- data/_layouts/archive.html +5 -5
- data/_layouts/default.html +13 -5
- data/_layouts/home.html +2 -2
- data/_layouts/page.html +3 -3
- data/_layouts/paginate.html +5 -5
- data/_layouts/post.html +10 -11
- data/_layouts/tagpage.html +2 -2
- data/_layouts/tags.html +36 -39
- data/_sass/jekyll-zeta.scss +18 -3
- data/assets/image/lock1.png +0 -0
- data/assets/image/lock2.png +0 -0
- data/assets/image/lock3.png +0 -0
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff35fc3729a3f707780c63a5520405e9bad3aa26b7f24e84f4698fa14e051278
|
4
|
+
data.tar.gz: 86a496853717d61967d85e228d634f8d17b4d0f9b59187d6809ea1b53f2828ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd8708c9f9db94f85d843c9fe5fda5fe4fdc04f1962de1dd6ddd7ba37bc8eac847f4984449b366c3560f35b6110d0c4e48bbc8367ce0342fccca785467f18710
|
7
|
+
data.tar.gz: 812f920306526faf39956bfa7d38ddc13ef6e114e3f7e4e2890e9eea59d842345758d271f903b74884e9f9a1796cf3a546934c7332b763254a5eff7c95cc7c6a
|
data/_includes/archive_list.html
CHANGED
@@ -2,49 +2,47 @@
|
|
2
2
|
{%-assign posts = include.collection -%}
|
3
3
|
{%- if posts.size > 0 -%}
|
4
4
|
|
5
|
-
{
|
6
|
-
{
|
5
|
+
{%- assign ymPre = "" -%}
|
6
|
+
{%- assign archive_date_format = site.theme_config.archive_date_format | default: "%Y" -%}
|
7
7
|
|
8
|
-
{
|
8
|
+
{%- assign archive_date_titleformat = site.theme_config.archive_title_date_format | default: "%m-%d" -%}
|
9
9
|
|
10
|
-
{
|
11
|
-
{
|
10
|
+
{%- assign yCounter = 0 -%}
|
11
|
+
{%- assign lock_path = site.theme_config.lock_path -%}
|
12
12
|
<ul class="postlistul">
|
13
13
|
{%- for post in posts limit: include.limit -%}
|
14
|
-
{
|
15
|
-
{
|
16
|
-
{
|
14
|
+
{%- assign ymCur = post.date | date: archive_date_format -%}
|
15
|
+
{%- if ymCur != ymPre -%}
|
16
|
+
{%- if ymPre != "" -%}
|
17
17
|
</ul>
|
18
|
-
{
|
19
|
-
{
|
18
|
+
{%- endif -%}
|
19
|
+
{%- if yCounter == 0 -%}
|
20
20
|
<li class="postlistli largeli largeli0">{{ymCur}}</li>
|
21
|
-
{
|
21
|
+
{%- else -%}
|
22
22
|
<li class="postlistli largeli">{{ymCur}}</li>
|
23
|
-
{
|
23
|
+
{%- endif -%}
|
24
24
|
|
25
25
|
{%- assign yCounter = yCounter | plus:1 -%}
|
26
26
|
<ul class="postlistul">
|
27
|
-
{
|
28
|
-
{
|
27
|
+
{%- endif -%}
|
28
|
+
{%- assign ymPre = ymCur -%}
|
29
29
|
|
30
30
|
<li class="postlistli">
|
31
|
-
{
|
31
|
+
{%- if lock_path.size > 0 -%}
|
32
32
|
{%- assign encid = "" | get_encrypt_id:post | default: "" -%}
|
33
|
-
{
|
33
|
+
{%- if encid.size > 1 -%}
|
34
34
|
<div >
|
35
35
|
<a href="{{ post.url | relative_url }} ">{{ post.title }}</a>
|
36
36
|
<img style="width:12px;height:12px;display: inline;margin-left: 5px;" src="{{ lock_path | relative_url}}">
|
37
37
|
</div>
|
38
|
-
{
|
38
|
+
{%- else -%}
|
39
39
|
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
40
|
-
{
|
41
|
-
{
|
40
|
+
{%- endif -%}
|
41
|
+
{%- else -%}
|
42
42
|
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
43
|
-
{
|
43
|
+
{%- endif -%}
|
44
44
|
<date datetime="{{post.date}}">{{- post.date | date: archive_date_titleformat }}</date>
|
45
|
-
|
46
45
|
</li>
|
47
|
-
|
48
46
|
{%- endfor -%}
|
49
47
|
</ul>
|
50
48
|
{%- endif -%}
|
data/_includes/collecttags.html
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
{
|
2
|
-
{
|
3
|
-
{
|
4
|
-
{
|
5
|
-
{
|
6
|
-
{
|
7
|
-
{
|
8
|
-
{
|
9
|
-
{
|
10
|
-
{
|
11
|
-
{
|
12
|
-
{
|
13
|
-
{
|
14
|
-
{
|
15
|
-
{
|
16
|
-
{
|
17
|
-
{
|
1
|
+
{%- assign rawtags = "" -%}
|
2
|
+
{%- for post in site.posts -%}
|
3
|
+
{%- assign ttags = post.tags | join:'|' | append:'|' -%}
|
4
|
+
{%- assign rawtags = rawtags | append:ttags -%}
|
5
|
+
{%- endfor -%}
|
6
|
+
{%- assign rawtags = rawtags | split:'|' | sort -%}
|
7
|
+
{%- assign site.tags = "" -%}
|
8
|
+
{%- for tag in rawtags -%}
|
9
|
+
{%- if tag != "" -%}
|
10
|
+
{%- if tags == "" -%}
|
11
|
+
{%- assign tags = tag | split:'|' -%}
|
12
|
+
{%- endif -%}
|
13
|
+
{%- unless tags contains tag -%}
|
14
|
+
{%- assign tags = tags | join:'|' | append:'|' | append:tag | split:'|' -%}
|
15
|
+
{%- endunless -%}
|
16
|
+
{%- endif -%}
|
17
|
+
{%- endfor -%}
|
data/_includes/encrypted.html
CHANGED
@@ -126,18 +126,14 @@
|
|
126
126
|
localStorage.clear();
|
127
127
|
}
|
128
128
|
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
{% if site.theme_config.forbid_cache_password %}
|
129
|
+
{%- if site.theme_config.forbid_cache_password %}
|
134
130
|
function readKey(){
|
135
131
|
}
|
136
132
|
function setKey(value){
|
137
133
|
}
|
138
134
|
function clearKey() {
|
139
135
|
}
|
140
|
-
{
|
136
|
+
{%- else %}
|
141
137
|
function readKey(){
|
142
138
|
var key = encid;
|
143
139
|
var v = localStorage.getItem(key)
|
@@ -162,10 +158,7 @@
|
|
162
158
|
decrypt(cachekey,true)
|
163
159
|
}
|
164
160
|
|
165
|
-
{
|
166
|
-
|
167
|
-
|
168
|
-
|
161
|
+
{%- endif %}
|
169
162
|
}()
|
170
163
|
|
171
164
|
</script>
|
data/_includes/head.html
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
4
4
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
5
5
|
|
6
|
-
{
|
6
|
+
{%- if page.mathjax -%}
|
7
7
|
<script type="text/x-mathjax-config">MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});</script>
|
8
8
|
<script type="text/javascript" async src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML"></script>
|
9
|
-
{
|
9
|
+
{%- endif -%}
|
10
10
|
<title>
|
11
11
|
{%- if page.title -%}
|
12
12
|
{{ page.title }}
|
@@ -14,22 +14,22 @@
|
|
14
14
|
{{ site.title }}
|
15
15
|
{%- endif -%}
|
16
16
|
</title>
|
17
|
-
{%- capture enc
|
17
|
+
{%- capture enc -%}{{ content | encrypt_if_need:page}}{%- endcapture -%}
|
18
18
|
{%- if enc == '' -%}
|
19
|
-
{
|
19
|
+
{%- endif -%}
|
20
20
|
|
21
|
-
{
|
22
|
-
{
|
23
|
-
{
|
21
|
+
{%- if site.tags != "" -%}
|
22
|
+
{%- include collecttags.html -%}
|
23
|
+
{%- endif -%}
|
24
24
|
|
25
25
|
<link rel="shortcut icon" type="image/x-icon" href="{{ site.favicon | relative_url }}" />
|
26
|
-
{
|
26
|
+
{%- if site.theme_config.combine_css_html -%}
|
27
27
|
<style>
|
28
28
|
{%- include main.css -%}
|
29
29
|
</style>
|
30
|
-
{
|
30
|
+
{%- else -%}
|
31
31
|
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}" />
|
32
|
-
{
|
32
|
+
{%- endif -%}
|
33
33
|
|
34
34
|
|
35
35
|
</head>
|
data/_includes/home.html
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
{
|
2
|
-
{
|
1
|
+
{%- assign titlelen = page.title.size -%}
|
2
|
+
{%- if titlelen > 0 -%}
|
3
3
|
<h2>{{ page.title }}</h2>
|
4
|
-
{
|
4
|
+
{%- endif -%}
|
5
5
|
{%-assign nextPage = site.paginate_path | replace: ':num', '2' -%}
|
6
6
|
|
7
7
|
{%
|
data/_includes/navbar.html
CHANGED
@@ -1,22 +1,19 @@
|
|
1
|
+
{%- if site.title.size > 0 %}
|
1
2
|
<h1> <a href="{{ '/' | relative_url }}"> {{ site.title }} </a></h1>
|
2
|
-
{%-
|
3
|
+
{%- endif -%}
|
4
|
+
{%- capture currentUrl -%}{{ page.url | relative_url}}{%- endcapture %}
|
3
5
|
<nav>
|
4
6
|
<ul class="navul">
|
5
|
-
|
6
|
-
|
7
|
-
{%-for item in site.theme_config.menu -%}
|
7
|
+
{%-for item in site.theme_config.menu %}
|
8
8
|
<li class="navli">
|
9
|
-
|
10
|
-
|
11
9
|
{%- if item.url -%}
|
12
|
-
{%- capture itemurl
|
13
|
-
|
10
|
+
{%- capture itemurl -%}{{ item.url | relative_url}}{%- endcapture -%}
|
14
11
|
|
15
12
|
{%- if currentUrl == itemurl -%}
|
16
13
|
<text class="curNav">{{ item.title }}</text>
|
17
14
|
{%- else -%}
|
18
15
|
<a href="{{ itemurl }}">{{ item.title }}</a>
|
19
|
-
{%- endif -
|
16
|
+
{%- endif - -%}
|
20
17
|
|
21
18
|
{%- else -%}
|
22
19
|
{{ item.title }}
|
data/_includes/paginate.html
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
{
|
2
|
-
{
|
1
|
+
{%- assign titlelen = page.title.size -%}
|
2
|
+
{%- if titlelen > 0 -%}
|
3
3
|
<h2>{{ page.title }}</h2>
|
4
|
-
{
|
4
|
+
{%- endif -%}
|
5
5
|
{%-assign nextPage = site.paginate_path | replace: ':num', '2' -%}
|
6
6
|
{%
|
7
7
|
include archive_list.html
|
@@ -10,30 +10,28 @@
|
|
10
10
|
-%}
|
11
11
|
|
12
12
|
{{ content }}
|
13
|
-
|
14
|
-
|
15
|
-
<div class="pagebar">
|
16
13
|
|
17
|
-
|
14
|
+
<div class="pagebar">
|
15
|
+
{%- if paginator.previous_page -%}
|
18
16
|
<a href="{{ paginator.previous_page_path | relative_url}}" class="previous">
|
19
17
|
{{ site.theme_config.previous_page_title | default: "Previous" }}
|
20
18
|
</a>
|
21
|
-
{
|
19
|
+
{%- else -%}
|
22
20
|
<span class="previous">
|
23
21
|
{{ site.theme_config.previous_page_title | default: "Previous" }}
|
24
22
|
</span>
|
25
|
-
{
|
23
|
+
{%- endif -%}
|
26
24
|
<span class="page_number ">
|
27
25
|
{{ paginator.page }}/{{ paginator.total_pages }}
|
28
26
|
</span>
|
29
|
-
{
|
27
|
+
{%- if paginator.next_page -%}
|
30
28
|
<a href="{{ paginator.next_page_path | relative_url }}" class="next">
|
31
29
|
{{ site.theme_config.next_page_title | default: "Next" }}
|
32
30
|
</a>
|
33
|
-
{
|
31
|
+
{%- else -%}
|
34
32
|
<span class="next ">
|
35
33
|
{{ site.theme_config.next_page_title | default: "Next" }}
|
36
34
|
</span>
|
37
|
-
{
|
35
|
+
{%- endif -%}
|
38
36
|
</div>
|
39
37
|
|
data/_includes/post_list.html
CHANGED
@@ -1,41 +1,39 @@
|
|
1
|
-
{%-if include.collection-%}
|
2
|
-
{%-assign posts = include.collection-%}
|
3
|
-
{%-else-%}
|
4
|
-
{%-assign posts = site.posts-%}
|
5
|
-
{%-endif-%}
|
6
|
-
|
7
|
-
{%-if include.limit and posts.size > include.limit-%}
|
8
|
-
{%-assign limit_exceeded = true-%}
|
9
|
-
{%-else-%}
|
10
|
-
{%-assign limit_exceeded = false-%}
|
11
|
-
{%-endif-%}
|
1
|
+
{%- if include.collection -%}
|
2
|
+
{%- assign posts = include.collection -%}
|
3
|
+
{%- else -%}
|
4
|
+
{%- assign posts = site.posts -%}
|
5
|
+
{%- endif -%}
|
12
6
|
|
7
|
+
{%- if include.limit and posts.size > include.limit -%}
|
8
|
+
{%- assign limit_exceeded = true -%}
|
9
|
+
{%- else -%}
|
10
|
+
{%- assign limit_exceeded = false -%}
|
11
|
+
{%- endif -%}
|
13
12
|
{%- if posts.size > 0 -%}
|
14
|
-
{
|
13
|
+
{%- assign lock_path = site.theme_config.lock_path -%}
|
15
14
|
<ul class="postlistul">
|
16
15
|
{%- for post in posts limit: include.limit -%}
|
17
16
|
<li class="postlistli">
|
18
|
-
{
|
17
|
+
{%- if lock_path.size > 0 -%}
|
19
18
|
{%- assign encid = "" | get_encrypt_id:post | default: "" -%}
|
20
|
-
{
|
19
|
+
{%- if encid.size > 1 -%}
|
21
20
|
<div >
|
22
21
|
<a href="{{ post.url | relative_url }} ">{{ post.title }}</a>
|
23
22
|
<img style="width:12px;height:12px;display: inline;margin-left: 5px;" src="{{ lock_path | relative_url}}">
|
24
23
|
</div>
|
25
|
-
{
|
24
|
+
{%- else -%}
|
26
25
|
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
27
|
-
{
|
28
|
-
|
29
|
-
{%else%}
|
26
|
+
{%- endif -%}
|
27
|
+
{%- else -%}
|
30
28
|
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
31
|
-
{
|
32
|
-
|
33
|
-
|
29
|
+
{%- endif -%}
|
34
30
|
<date>{{- post.date | date: site.theme_config.date_format -}}</date>
|
35
|
-
</li>
|
31
|
+
</li>
|
36
32
|
{%- endfor -%}
|
37
33
|
{%- if include.show_more and limit_exceeded -%}
|
38
|
-
<li class="postlistli"
|
34
|
+
<li class="postlistli">
|
35
|
+
<a href="{{ include.show_more_url | relative_url }}">{{ include.show_more_text | default: "Show more..." }}</a>
|
36
|
+
</li>
|
39
37
|
{%- endif -%}
|
40
38
|
</ul>
|
41
39
|
{%- endif -%}
|
data/_layouts/archive.html
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
{
|
5
|
-
{
|
4
|
+
{%- assign titlelen = page.title.size -%}
|
5
|
+
{%- if titlelen > 0 -%}
|
6
6
|
<h2>{{ page.title }}</h2>
|
7
|
-
{
|
7
|
+
{%- endif -%}
|
8
8
|
|
9
9
|
{%-assign posts = site.posts-%}
|
10
10
|
{%- if posts.size > 0 -%}
|
11
|
-
{
|
11
|
+
{%- include archive_list.html
|
12
12
|
collection=posts
|
13
|
-
|
13
|
+
-%}
|
14
14
|
{%- endif -%}
|
15
15
|
|
16
16
|
|
data/_layouts/default.html
CHANGED
@@ -7,6 +7,14 @@
|
|
7
7
|
<div class="w">
|
8
8
|
{%- include navbar.html -%}
|
9
9
|
{{ content }}
|
10
|
+
|
11
|
+
{%- assign footnote = site.theme_config.show_footnote | default:true -%}
|
12
|
+
{%- if footnote -%}
|
13
|
+
<footer class="footer">
|
14
|
+
<p> Powered by <a href="https://jekyllrb.com/">Jekyll</a> & <a href="https://github.com/vitock/jekyll-zeta">Jekyll-zeta</a>
|
15
|
+
</p>
|
16
|
+
</footer>
|
17
|
+
{%- endif -%}
|
10
18
|
</div>
|
11
19
|
</main>
|
12
20
|
|
@@ -14,10 +22,10 @@
|
|
14
22
|
{%-include goat_counter.html-%}
|
15
23
|
{%-endif-%}
|
16
24
|
|
17
|
-
{
|
18
|
-
{
|
25
|
+
{%- if page.custom_js -%}
|
26
|
+
{%- for js_file in page.custom_js -%}
|
19
27
|
<script type="text/javascript" src="{{ site.baseurl }}/assets/js/{{ js_file }}.js"></script>
|
20
|
-
{
|
21
|
-
{
|
28
|
+
{%- endfor -%}
|
29
|
+
{%- endif -%}
|
22
30
|
</body>
|
23
|
-
</html>
|
31
|
+
</html>
|
data/_layouts/home.html
CHANGED
data/_layouts/page.html
CHANGED
data/_layouts/paginate.html
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
{
|
5
|
-
{
|
6
|
-
{
|
7
|
-
{
|
8
|
-
{
|
4
|
+
{%- if paginator.page == 1 -%}
|
5
|
+
{%- include home.html -%}
|
6
|
+
{%- else -%}
|
7
|
+
{%- include paginate.html -%}
|
8
|
+
{%- endif -%}
|
data/_layouts/post.html
CHANGED
@@ -1,24 +1,23 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
|
5
|
-
|
6
|
-
{% assign titlelen = page.title.size %}
|
7
|
-
{% if titlelen > 0 %}
|
4
|
+
{%- assign titlelen = page.title.size -%}
|
5
|
+
{%- if titlelen > 0 -%}
|
8
6
|
<h2>{{ page.title }}</h2>
|
9
|
-
{
|
7
|
+
{%- endif -%}
|
10
8
|
<time datetime="{{ page.date }}">{{ page.date | date: site.theme_config.post_date_format }}</time>
|
11
|
-
{
|
12
|
-
{
|
9
|
+
{%- for tag in page.tags -%}
|
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 }}
|
19
|
-
{
|
18
|
+
{%- else -%}
|
20
19
|
{%-include encrypted.html-%}
|
21
|
-
{
|
20
|
+
{%- endif -%}
|
22
21
|
|
23
22
|
|
24
23
|
</article>
|
data/_layouts/tagpage.html
CHANGED
data/_layouts/tags.html
CHANGED
@@ -3,68 +3,65 @@ layout: default
|
|
3
3
|
---
|
4
4
|
{%-include back_link.html -%}
|
5
5
|
<div class="post">
|
6
|
-
{
|
7
|
-
{
|
6
|
+
{%- assign titlelen = page.title.size -%}
|
7
|
+
{%- if titlelen > 0 -%}
|
8
8
|
<h2>{{ page.title }}</h2>
|
9
|
-
{
|
9
|
+
{%- endif -%}
|
10
10
|
<article>
|
11
|
-
{
|
11
|
+
{%- comment -%}
|
12
12
|
sort tags by count
|
13
|
-
{
|
13
|
+
{%- endcomment -%}
|
14
14
|
|
15
|
-
{
|
16
|
-
{
|
15
|
+
{%- capture tagsStr -%}
|
16
|
+
{%- for tag in site.tags -%}
|
17
17
|
{{ tag[1].size | plus: 10000 }}#{{ tag[0] }}#{{ tag[1].size }}@@
|
18
|
-
{
|
19
|
-
{
|
18
|
+
{%- endfor -%}
|
19
|
+
{%- endcapture -%}
|
20
20
|
|
21
|
-
{
|
21
|
+
{%- assign sortedtags = tagsStr | split:'@@' | sort -%}
|
22
22
|
|
23
23
|
|
24
|
-
{
|
24
|
+
{%- assign layouttype = site.theme_config.tags_layout_style | default: "auto" -%}
|
25
25
|
|
26
|
-
{
|
27
|
-
{
|
28
|
-
{
|
29
|
-
{
|
30
|
-
{
|
31
|
-
{
|
32
|
-
{
|
33
|
-
{
|
34
|
-
{
|
35
|
-
{
|
36
|
-
{
|
37
|
-
{
|
38
|
-
{
|
39
|
-
{
|
40
|
-
{
|
26
|
+
{%- if layouttype == 'auto' -%}
|
27
|
+
{%- if site.tags.size > 20 -%}
|
28
|
+
{%- assign layouttype = 'flat' -%}
|
29
|
+
{%- else -%}
|
30
|
+
{%- assign layouttype = 'list' -%}
|
31
|
+
{%- endif -%}
|
32
|
+
{%- endif -%}
|
33
|
+
{%- if layouttype == 'flat' -%}
|
34
|
+
{%- assign counter = 0 -%}
|
35
|
+
{%- for tag in sortedtags reversed -%}
|
36
|
+
{%- assign tagitems = tag | split: '#' -%}
|
37
|
+
{%- assign tagname = tagitems[1] -%}
|
38
|
+
{%- assign tagnameCount = tagitems[2] -%}
|
39
|
+
{%- assign counter2 = counter | modulo: 4 -%}
|
40
|
+
{%- if counter2 == 3 -%}
|
41
41
|
<p>
|
42
|
-
{
|
43
|
-
{
|
42
|
+
{%- endif -%}
|
43
|
+
{%- capture counter -%}{%- increment counter -%} {%- endcapture -%}
|
44
44
|
|
45
45
|
|
46
46
|
<text><a href ="{{'/tags'|relative_url}}/{{ tagname}}.html" >{{ tagname}}</a> <sup>{{ tagnameCount }}</sup></text>
|
47
47
|
|
48
|
-
{
|
49
|
-
{
|
48
|
+
{%- endfor -%}
|
49
|
+
{%- else -%}
|
50
50
|
<ul class="postlistul" >
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
{% assign tagitems = tag | split: '#' %}
|
56
|
-
{% assign tagname = tagitems[1] %}
|
57
|
-
{% assign tagnameCount = tagitems[2] %}
|
51
|
+
{%- for tag in sortedtags reversed -%}
|
52
|
+
{%- assign tagitems = tag | split: '#' -%}
|
53
|
+
{%- assign tagname = tagitems[1] -%}
|
54
|
+
{%- assign tagnameCount = tagitems[2] -%}
|
58
55
|
<li class="postlistli">
|
59
56
|
<text>
|
60
57
|
<a href ="{{'/tags'|relative_url}}/{{ tagname}}.html" >{{ tagname}}</a>
|
61
58
|
<sup> {{ tagnameCount }} </sup>
|
62
59
|
</text>
|
63
60
|
</li>
|
64
|
-
{
|
61
|
+
{%- endfor -%}
|
65
62
|
</ul>
|
66
63
|
|
67
|
-
{
|
64
|
+
{%- endif -%}
|
68
65
|
|
69
66
|
</article>
|
70
67
|
</div>
|
data/_sass/jekyll-zeta.scss
CHANGED
@@ -2,9 +2,12 @@ li {
|
|
2
2
|
padding: 0.2rem;
|
3
3
|
}
|
4
4
|
|
5
|
+
article{
|
6
|
+
line-height: 1.4;
|
7
|
+
}
|
5
8
|
.w {
|
6
9
|
margin: auto;
|
7
|
-
max-width:
|
10
|
+
max-width: 740px;
|
8
11
|
padding: .5rem .5rem 5rem .5rem;
|
9
12
|
word-wrap: break-word;
|
10
13
|
}
|
@@ -64,7 +67,8 @@ td {
|
|
64
67
|
hr {
|
65
68
|
margin-top: 2rem;
|
66
69
|
margin-bottom: 2rem;
|
67
|
-
border-color: #e0e0e0
|
70
|
+
border-color: #e0e0e0;
|
71
|
+
border-style: dashed;
|
68
72
|
}
|
69
73
|
|
70
74
|
|
@@ -143,4 +147,15 @@ date {
|
|
143
147
|
.largeli0 {
|
144
148
|
padding: 0 0 0.5rem 0;
|
145
149
|
}
|
146
|
-
|
150
|
+
|
151
|
+
.footer{
|
152
|
+
margin-top: 4rem;
|
153
|
+
color: #aaa;
|
154
|
+
width: 100%;
|
155
|
+
font-size: 0.9rem;
|
156
|
+
text-align: center;
|
157
|
+
}
|
158
|
+
|
159
|
+
.footer a {
|
160
|
+
color: #808080;
|
161
|
+
}
|
data/assets/image/lock1.png
CHANGED
Binary file
|
data/assets/image/lock2.png
CHANGED
Binary file
|
data/assets/image/lock3.png
CHANGED
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.
|
4
|
+
version: 0.3.6.6
|
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-
|
11
|
+
date: 2022-11-08 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: []
|
@@ -94,7 +94,7 @@ homepage: https://github.com/vitock/jekyll-zeta
|
|
94
94
|
licenses:
|
95
95
|
- GPL
|
96
96
|
metadata: {}
|
97
|
-
post_install_message:
|
97
|
+
post_install_message:
|
98
98
|
rdoc_options: []
|
99
99
|
require_paths:
|
100
100
|
- lib
|
@@ -109,8 +109,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
requirements: []
|
112
|
-
rubygems_version: 3.
|
113
|
-
signing_key:
|
112
|
+
rubygems_version: 3.0.3.1
|
113
|
+
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: A clean fast, minimalist Jekyll theme.
|
116
116
|
test_files: []
|