jekyll-zeta 0.2.1 → 0.2.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: 2d3c487006a9e34fab0deef16a995d8e868624b2d5d881175c55738a557b3513
4
- data.tar.gz: cfcede343380166c8a4a56aba8f72aa64c05a0627bc88a852a1a8e7987929703
3
+ metadata.gz: b9dbf62f231ca86fe64536b01115c609cd313c292538ca94ed2e0761720a7732
4
+ data.tar.gz: 07d0db9c09878e5e34c057000774cf6aacf72bf55a3d90768cc6837aeb4d6078
5
5
  SHA512:
6
- metadata.gz: c65cbcab573a931db5b96fcbb6e7ec97e82de1995587726c957272b109c9dc6956751d0025ef190dc54cbe578dab7ac9c165a26ee7d1126ffaf2e4cf80777ad0
7
- data.tar.gz: d7e4bd42f4b5c329c8c6cfb06280d30635c2e82665560c07ee298433665474f51272050dea4f665fbaf68249a2a6daf5512ea1a411aad1c306092944923f4446
6
+ metadata.gz: 7c9abf354f1fc44b07047a407f1a5f50bba3fd9b6fe21443940f90bf53b36de99edd829bc83a3a5dfbf894eccf144cddf0ca2533dcf28e8798d0fadbc9c2fdc5
7
+ data.tar.gz: a0d198d7edf174c235cda5d5c830e92670721e96ea15b42d399d2241916bad99ce0071752cf767f5185179beacc6af054a58b7db15e15cd330e5c6b448760933
data/_config.yml CHANGED
@@ -29,6 +29,7 @@ theme_config:
29
29
  archive_title_date_format: "%m-%d"
30
30
  tags_layout_style: 'auto' # flat auto list
31
31
  combine_css_html: false
32
+ show_more_text: 'Show more...'
32
33
  menu:
33
34
  - title: 主页
34
35
  url: /
@@ -19,7 +19,7 @@
19
19
  </li>
20
20
  {%- endfor -%}
21
21
  {%- if include.show_more and limit_exceeded -%}
22
- <li><a href="{{ include.show_more_url }}">{{ include.show_more_text | default: "Show more..." }}</a></li>
22
+ <li class="postlistli"><a href="{{ include.show_more_url }}">{{ include.show_more_text | default: "Show more..." }}</a></li>
23
23
  {%- endif -%}
24
24
  </ul>
25
25
  {%- endif -%}
data/_layouts/home.html CHANGED
@@ -8,7 +8,7 @@ layout: default
8
8
  include post_list.html
9
9
  limit=10
10
10
  show_more=true
11
- show_more_text="MORE"
11
+ show_more_text=site.theme_config.show_more_text
12
12
  show_more_url="archive.html"
13
13
  -%}
14
14
 
data/_layouts/tags.html CHANGED
@@ -18,15 +18,15 @@ layout: default
18
18
  {% if layouttype == 'flat' %}
19
19
  {% assign counter = 0 %}
20
20
  {% for item in site.tags %}
21
-
22
- {% assign counter2 = counter | modulo: 4 %}
23
- {% if counter2 == 3 %}
24
- <p>
25
- {% endif %}
26
- {% capture counter %}{% increment counter %} {% endcapture %}
21
+ {% assign tagname = item[0] %}
22
+ {% assign counter2 = counter | modulo: 4 %}
23
+ {% if counter2 == 3 %}
24
+ <p>
25
+ {% endif %}
26
+ {% capture counter %}{% increment counter %} {% endcapture %}
27
27
 
28
28
 
29
- <text><a href ="{{'/tags'|relative_url}}/{{ item[0]}}.html" >{{ item[0]}}</a></text> &nbsp; &nbsp;
29
+ <text><a href ="{{'/tags'|relative_url}}/{{ tagname}}.html" >{{ tagname}}</a> <sup>{{ site.tags[tagname].size }}</sup></text> &nbsp; &nbsp;
30
30
 
31
31
  {% endfor %}
32
32
  {% else %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-zeta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - vitock