jekyll-zeta 0.3.2 → 0.3.2.1

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: 6205a0c7da13ffe8939eac5300a1ddc53c2f771f4890f2f0e5d03480754756c7
4
- data.tar.gz: 18cf587c2db46bd393399b66df133f68ab9138ed97dee455e503f841ae9d1239
3
+ metadata.gz: 712cb5e4670b18fa391c30d4f6873dd643ef5f3a01c7ef2a9318cda24636e98c
4
+ data.tar.gz: 66839528c58c8b12965f869f60b4dd2c3328cac7a97e661929fbe2ee16eedbea
5
5
  SHA512:
6
- metadata.gz: 32982d95c9409a4163de87d866b5f3757b1cf16bc1d8a6c7ba4e38c42dc55ded7792e8a8868e5dd18914fac5b5a42937821f1b9993b2d987eb23088e9f91b519
7
- data.tar.gz: c76e7c7603dd1bff0b987a87cfc3a06245dd03fa39cf2d872b581f97238eb7cfa31128c1ce4e4abb2fdbe91cdf78c907ee34a508277ffc9ce7272cbef197cf75
6
+ metadata.gz: ecc2b8473d806dfa8bfcbc2847983ecacbcc3424f39660f59d1ff2032c9e49b68270c3268b291959ee06570b4516c5b58512e04b72af2fe61d57715caf198248
7
+ data.tar.gz: 5377d14d586b45827f763356d8b968fd4cf037e92b4c248ae7299f219aaca7c97a4b12ff7bdabe53efd3f4fd4e4a258d3370a80c6d4472cd011bf3b0d7789e3a
data/_includes/home.html CHANGED
@@ -1,5 +1,7 @@
1
+ {% assign titlelen = page.title.size %}
2
+ {% if titlelen > 0 %}
1
3
  <h2>{{ page.title }}</h2>
2
-
4
+ {% endif %}
3
5
  {%-assign nextPage = site.paginate_path | replace: ':num', '2' -%}
4
6
 
5
7
  {%
@@ -1,16 +1,14 @@
1
-
1
+ {% assign titlelen = page.title.size %}
2
+ {% if titlelen > 0 %}
2
3
  <h2>{{ page.title }}</h2>
3
-
4
+ {% endif %}
4
5
  {%-assign nextPage = site.paginate_path | replace: ':num', '2' -%}
5
-
6
6
  {%
7
7
  include archive_list.html
8
8
  collection=paginator.posts
9
9
  limit=site.paginate
10
10
  -%}
11
11
 
12
-
13
-
14
12
  {{ content }}
15
13
 
16
14
 
@@ -1,11 +1,10 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
-
5
- {%-include back_link.html-%}
6
-
4
+ {% assign titlelen = page.title.size %}
5
+ {% if titlelen > 0 %}
7
6
  <h2>{{ page.title }}</h2>
8
-
7
+ {% endif %}
9
8
 
10
9
  {%-assign posts = site.posts-%}
11
10
  {%- if posts.size > 0 -%}
data/_layouts/page.html CHANGED
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
-
5
- {%-include back_link.html-%}
6
-
4
+ {% assign titlelen = page.title.size %}
5
+ {% if titlelen > 0 %}
7
6
  <h2>{{ page.title }}</h2>
7
+ {% endif %}
8
8
 
9
9
  {{ content }}
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
-
5
4
  {% if paginator.page == 1 %}
6
5
  {% include home.html %}
7
6
  {% else %}
data/_layouts/post.html CHANGED
@@ -2,18 +2,20 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
+
5
6
 
6
7
  <article>
7
-
8
-
9
- <h2>{{ page.title }}</h2>
10
- <time datetime="{{ page.date }}">{{ page.date | date: site.theme_config.post_date_format }}</time> &nbsp; &nbsp;
8
+ {% assign titlelen = page.title.size %}
9
+ {% if titlelen > 0 %}
10
+ <h2>{{ page.title }}</h2>
11
+ {% endif %}
12
+ <time datetime="{{ page.date }}">{{ page.date | date: site.theme_config.post_date_format }}</time> &nbsp; &nbsp;
11
13
  {% for tag in page.tags %}
12
14
  {% capture tag_name %}{{ tag }}{% endcapture %}
13
15
  <a href="{{ site.baseurl }}/tags/{{ tag_name }}.html"><text><nobr>#{{ tag_name }}</nobr></text>&nbsp;</a>
14
16
  {% endfor %}</span>
15
17
 
16
- {%- capture encid %}{{ "" | get_encrypt_id:page}}{% endcapture -%}
18
+ {%- assign encid = "" | get_encrypt_id:page -%}
17
19
  {%- if encid == '' -%}
18
20
  {{ content }}
19
21
  {% else %}
data/_layouts/tags.html CHANGED
@@ -3,7 +3,10 @@ layout: default
3
3
  ---
4
4
  {%-include back_link.html -%}
5
5
  <div class="post">
6
- <h2>{{page.title}}</h2>
6
+ {% assign titlelen = page.title.size %}
7
+ {% if titlelen > 0 %}
8
+ <h2>{{ page.title }}</h2>
9
+ {% endif %}
7
10
  <article>
8
11
  {% comment %}
9
12
  sort tags by count
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.2
4
+ version: 0.3.2.1
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-21 00:00:00.000000000 Z
11
+ date: 2022-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll