jekyll-zeta 0.3.5.3 → 0.3.6.7

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: b6a50510d78c133db937f81499c2cfb2eacba5a383e33f0a90be8ba8663d5697
4
- data.tar.gz: 11d985f74e6fca7711ce02e268fe9958ee8654597d4432b807b8141c50faf255
3
+ metadata.gz: 6e329ae3d4364f92d2869e9bc7cf9042fb7a55fcf7c09220d340ba11ceb8fe76
4
+ data.tar.gz: d4a846aede11d4ca5389da48d4e95203f24a287f3e4cac1515e341c232b3f4d1
5
5
  SHA512:
6
- metadata.gz: 82c3025b5bdea9113a1dafdedeed30f3e80d0fb40efc814b86454441ea08762cb26bea145c8abdf72de453dd9612246f0c7b2bfa5e9dfb3581d0816f3a5fc4dd
7
- data.tar.gz: 3d51075e87da550c3867c3f1c52c72c36adcef705b75e0513047796ed19780544b76d66fcb6757c0a2e765cebfc17b104589d38e3d81eeb74215556f93a55238
6
+ metadata.gz: a5a81a7acfedcdc812fc1df6a48f0d16050666f166e8dba09f0652f061d534aa6476ca59bbcce3c70ed2433049c96f680b9504899799a288f1f98d67eb4eaf02
7
+ data.tar.gz: 93778b37cfecf3dc0c340693b234bf15c940b2cf1f7d3759043015455594462a69a1e55a748aefe219e5e6b3b35d329417238f1e54cd7f549af3bf12d31cf87c
data/_config.yml CHANGED
@@ -33,7 +33,8 @@ 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
+ lock_path: "assets/image/lock4.png"
37
+ show_footnote: true
37
38
  menu:
38
39
  - title: Home
39
40
  url: /
@@ -2,49 +2,47 @@
2
2
  {%-assign posts = include.collection -%}
3
3
  {%- if posts.size > 0 -%}
4
4
 
5
- {% assign ymPre = "" %}
6
- {% assign archive_date_format = site.theme_config.archive_date_format | default: "%Y" %}
5
+ {%- assign ymPre = "" -%}
6
+ {%- assign archive_date_format = site.theme_config.archive_date_format | default: "%Y" -%}
7
7
 
8
- {% assign archive_date_titleformat = site.theme_config.archive_title_date_format | default: "%m-%d" %}
8
+ {%- assign archive_date_titleformat = site.theme_config.archive_title_date_format | default: "%m-%d" -%}
9
9
 
10
- {% assign yCounter = 0 %}
11
- {% assign lock_path = site.theme_config.lock_path %}
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
- {% assign ymCur = post.date | date: archive_date_format %}
15
- {% if ymCur != ymPre %}
16
- {% if ymPre != "" %}
14
+ {%- assign ymCur = post.date | date: archive_date_format -%}
15
+ {%- if ymCur != ymPre -%}
16
+ {%- if ymPre != "" -%}
17
17
  </ul>
18
- {% endif %}
19
- {% if yCounter == 0 %}
18
+ {%- endif -%}
19
+ {%- if yCounter == 0 -%}
20
20
  <li class="postlistli largeli largeli0">{{ymCur}}</li>
21
- {% else %}
21
+ {%- else -%}
22
22
  <li class="postlistli largeli">{{ymCur}}</li>
23
- {% endif %}
23
+ {%- endif -%}
24
24
 
25
25
  {%- assign yCounter = yCounter | plus:1 -%}
26
26
  <ul class="postlistul">
27
- {% endif %}
28
- {% assign ymPre = ymCur %}
27
+ {%- endif -%}
28
+ {%- assign ymPre = ymCur -%}
29
29
 
30
30
  <li class="postlistli">
31
- {% if lock_path.size > 0 %}
31
+ {%- if lock_path.size > 0 -%}
32
32
  {%- assign encid = "" | get_encrypt_id:post | default: "" -%}
33
- {% if encid.size > 1 %}
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
- {% else %}
38
+ {%- else -%}
39
39
  <a href="{{ post.url | relative_url }}">{{ post.title }}</a>
40
- {% endif %}
41
- {% else %}
40
+ {%- endif -%}
41
+ {%- else -%}
42
42
  <a href="{{ post.url | relative_url }}">{{ post.title }}</a>
43
- {%endif%}
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 -%}
@@ -1,17 +1,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 %}
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 -%}
@@ -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
- {% else %}
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
- {% endif %}
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
- {% if page.mathjax %}
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
- {% endif %}
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 %}{{ content | encrypt_if_need:page}}{% endcapture -%}
17
+ {%- capture enc -%}{{ content | encrypt_if_need:page}}{%- endcapture -%}
18
18
  {%- if enc == '' -%}
19
- {% endif %}
19
+ {%- endif -%}
20
20
 
21
- {% if site.tags != "" %}
22
- {% include collecttags.html %}
23
- {% endif %}
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
- {% if site.theme_config.combine_css_html %}
26
+ {%- if site.theme_config.combine_css_html -%}
27
27
  <style>
28
28
  {%- include main.css -%}
29
29
  </style>
30
- {% else %}
30
+ {%- else -%}
31
31
  <link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}" />
32
- {% endif %}
32
+ {%- endif -%}
33
33
 
34
34
 
35
35
  </head>
data/_includes/home.html CHANGED
@@ -1,7 +1,7 @@
1
- {% assign titlelen = page.title.size %}
2
- {% if titlelen > 0 %}
1
+ {%- assign titlelen = page.title.size -%}
2
+ {%- if titlelen > 0 -%}
3
3
  <h2>{{ page.title }}</h2>
4
- {% endif %}
4
+ {%- endif -%}
5
5
  {%-assign nextPage = site.paginate_path | replace: ':num', '2' -%}
6
6
 
7
7
  {%
@@ -1,22 +1,19 @@
1
+ {%- if site.title.size > 0 %}
1
2
  <h1> <a href="{{ '/' | relative_url }}"> {{ site.title }} </a></h1>
2
- {%- capture currentUrl %}{{ page.url | relative_url}}{% endcapture -%}
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 %}{{ item.url | relative_url}}{% endcapture -%}
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 }}
@@ -1,7 +1,7 @@
1
- {% assign titlelen = page.title.size %}
2
- {% if titlelen > 0 %}
1
+ {%- assign titlelen = page.title.size -%}
2
+ {%- if titlelen > 0 -%}
3
3
  <h2>{{ page.title }}</h2>
4
- {% endif %}
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
- {% if paginator.previous_page %}
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
- {% else %}
19
+ {%- else -%}
22
20
  <span class="previous">
23
21
  {{ site.theme_config.previous_page_title | default: "Previous" }}
24
22
  </span>
25
- {% endif %}
23
+ {%- endif -%}
26
24
  <span class="page_number ">
27
25
  {{ paginator.page }}/{{ paginator.total_pages }}
28
26
  </span>
29
- {% if paginator.next_page %}
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
- {% else %}
31
+ {%- else -%}
34
32
  <span class="next ">
35
33
  {{ site.theme_config.next_page_title | default: "Next" }}
36
34
  </span>
37
- {% endif %}
35
+ {%- endif -%}
38
36
  </div>
39
37
 
@@ -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
- {% assign lock_path = site.theme_config.lock_path %}
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
- {% if lock_path.size > 0 %}
17
+ {%- if lock_path.size > 0 -%}
19
18
  {%- assign encid = "" | get_encrypt_id:post | default: "" -%}
20
- {% if encid.size > 1 %}
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
- {% else %}
24
+ {%- else -%}
26
25
  <a href="{{ post.url | relative_url }}">{{ post.title }}</a>
27
- {% endif %}
28
-
29
- {%else%}
26
+ {%- endif -%}
27
+ {%- else -%}
30
28
  <a href="{{ post.url | relative_url }}">{{ post.title }}</a>
31
- {% endif %}
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"><a href="{{ include.show_more_url | relative_url }}">{{ include.show_more_text | default: "Show more..." }}</a></li>
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 -%}
@@ -1,16 +1,16 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- {% assign titlelen = page.title.size %}
5
- {% if titlelen > 0 %}
4
+ {%- assign titlelen = page.title.size -%}
5
+ {%- if titlelen > 0 -%}
6
6
  <h2>{{ page.title }}</h2>
7
- {% endif %}
7
+ {%- endif -%}
8
8
 
9
9
  {%-assign posts = site.posts-%}
10
10
  {%- if posts.size > 0 -%}
11
- {% include archive_list.html
11
+ {%- include archive_list.html
12
12
  collection=posts
13
- %}
13
+ -%}
14
14
  {%- endif -%}
15
15
 
16
16
 
@@ -7,6 +7,14 @@
7
7
  <div class="w">
8
8
  {%- include navbar.html -%}
9
9
  {{ content }}
10
+ {%- assign footnote = site.theme_config.show_footnote -%}
11
+ {%- if footnote == true -%}
12
+
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
- {% if page.custom_js %}
18
- {% for js_file in page.custom_js %}
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
- {% endfor %}
21
- {% endif %}
28
+ {%- endfor -%}
29
+ {%- endif -%}
22
30
  </body>
23
- </html>
31
+ </html>
data/_layouts/home.html CHANGED
@@ -2,5 +2,5 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- {% include home.html
6
- %}
5
+ {%- include home.html
6
+ -%}
data/_layouts/page.html CHANGED
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- {% assign titlelen = page.title.size %}
5
- {% if titlelen > 0 %}
4
+ {%- assign titlelen = page.title.size -%}
5
+ {%- if titlelen > 0 -%}
6
6
  <h2>{{ page.title }}</h2>
7
- {% endif %}
7
+ {%- endif -%}
8
8
 
9
9
  {{ content }}
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- {% if paginator.page == 1 %}
5
- {% include home.html %}
6
- {% else %}
7
- {% include paginate.html %}
8
- {% endif %}
4
+ {%- if paginator.page == 1 -%}
5
+ {%- include home.html -%}
6
+ {%- else -%}
7
+ {%- include paginate.html -%}
8
+ {%- endif -%}
data/_layouts/post.html CHANGED
@@ -1,23 +1,23 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- {% assign titlelen = page.title.size %}
5
- {% if titlelen > 0 %}
4
+ {%- assign titlelen = page.title.size -%}
5
+ {%- if titlelen > 0 -%}
6
6
  <h2>{{ page.title }}</h2>
7
- {% endif %}
7
+ {%- endif -%}
8
8
  <time datetime="{{ page.date }}">{{ page.date | date: site.theme_config.post_date_format }}</time> &nbsp; &nbsp;
9
- {% for tag in page.tags %}
10
- {% capture tag_name %}{{ tag }}{% endcapture %}
9
+ {%- for tag in page.tags -%}
10
+ {%- capture tag_name -%}{{ tag }}{%- endcapture -%}
11
11
  <a href="{{ site.baseurl }}/tags/{{ tag_name }}.html"><text><nobr>#{{ tag_name }}</nobr></text>&nbsp;</a>
12
- {% endfor %}
12
+ {%- endfor -%}
13
13
 
14
14
  <article>
15
15
  {%- assign encid = "" | get_encrypt_id:page -%}
16
16
  {%- if encid == '' -%}
17
17
  {{ content }}
18
- {% else %}
18
+ {%- else -%}
19
19
  {%-include encrypted.html-%}
20
- {% endif %}
20
+ {%- endif -%}
21
21
 
22
22
 
23
23
  </article>
@@ -3,8 +3,8 @@ layout: default
3
3
  ---
4
4
 
5
5
  <h2>Tag: {{ page.tag }}</h2>
6
- {% assign posts = site.tags[page.tag] %}
7
- {%
6
+ {%- assign posts = site.tags[page.tag] -%}
7
+ {%-
8
8
  include post_list.html
9
9
  collection = posts
10
10
  -%}
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
- {% assign titlelen = page.title.size %}
7
- {% if titlelen > 0 %}
6
+ {%- assign titlelen = page.title.size -%}
7
+ {%- if titlelen > 0 -%}
8
8
  <h2>{{ page.title }}</h2>
9
- {% endif %}
9
+ {%- endif -%}
10
10
  <article>
11
- {% comment %}
11
+ {%- comment -%}
12
12
  sort tags by count
13
- {% endcomment %}
13
+ {%- endcomment -%}
14
14
 
15
- {% capture tagsStr %}
16
- {% for tag in site.tags %}
15
+ {%- capture tagsStr -%}
16
+ {%- for tag in site.tags -%}
17
17
  {{ tag[1].size | plus: 10000 }}#{{ tag[0] }}#{{ tag[1].size }}@@
18
- {% endfor %}
19
- {% endcapture %}
18
+ {%- endfor -%}
19
+ {%- endcapture -%}
20
20
 
21
- {% assign sortedtags = tagsStr | split:'@@' | sort %}
21
+ {%- assign sortedtags = tagsStr | split:'@@' | sort -%}
22
22
 
23
23
 
24
- {% assign layouttype = site.theme_config.tags_layout_style | default: "auto" %}
24
+ {%- assign layouttype = site.theme_config.tags_layout_style | default: "auto" -%}
25
25
 
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 %}
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
- {% endif %}
43
- {% capture counter %}{% increment counter %} {% endcapture %}
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> &nbsp; &nbsp;
47
47
 
48
- {% endfor %}
49
- {% else %}
48
+ {%- endfor -%}
49
+ {%- else -%}
50
50
  <ul class="postlistul" >
51
-
52
-
53
- {% for tag in sortedtags reversed %}
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> &nbsp;
63
60
  </li>
64
- {% endfor %}
61
+ {%- endfor -%}
65
62
  </ul>
66
63
 
67
- {% endif %}
64
+ {%- endif -%}
68
65
 
69
66
  </article>
70
67
  </div>
@@ -5,11 +5,10 @@ li {
5
5
  article{
6
6
  line-height: 1.4;
7
7
  }
8
-
9
8
  .w {
10
9
  margin: auto;
11
- max-width: 640px;
12
- padding: .5rem .5rem 5rem .5rem;
10
+ max-width: 740px;
11
+ padding: 0 .5rem 5rem .5rem;
13
12
  word-wrap: break-word;
14
13
  }
15
14
 
@@ -68,7 +67,8 @@ td {
68
67
  hr {
69
68
  margin-top: 2rem;
70
69
  margin-bottom: 2rem;
71
- border-color: #e0e0e0
70
+ border-color: #e0e0e0;
71
+ border-style: dashed;
72
72
  }
73
73
 
74
74
 
@@ -147,4 +147,15 @@ date {
147
147
  .largeli0 {
148
148
  padding: 0 0 0.5rem 0;
149
149
  }
150
-
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
+ }
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.3
4
+ version: 0.3.6.7
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-02 00:00:00.000000000 Z
11
+ date: 2023-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  requirements: []
112
- rubygems_version: 3.0.3.1
112
+ rubygems_version: 3.3.26
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: A clean fast, minimalist Jekyll theme.