type-on-strap 2.4.9 → 2.4.10

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: 15dad5d590b48fae536490341e7833281b3771118b682275f86fd96128e0db5e
4
- data.tar.gz: 3f6937d0f9c733be27b4e966ac9d6aba2222c6e0abcac690d3c93a3d171437d7
3
+ metadata.gz: 5f7c34c5bda2cf111c6a516ce892acf9b38b8ea736ead2c399afd491ada2c5b0
4
+ data.tar.gz: 730e35d536afe00d315c0d836dc76c1b8602a2f60f389fcbb7c786ca1ea8124a
5
5
  SHA512:
6
- metadata.gz: 8f55e245d44102ba315df41b0353451afabc9458e00fb62eed47fce19350699626a27ba1db562b6f1dcf28aded39c7d8aff9d5a9a765918bd58061552cd08315
7
- data.tar.gz: b1298b3bd7bdb9e8f3b7ec97c4f4ae24cd5c5d34b035693d1d08567a2be85e3cecc36a4563eb1ae14a59769fb2842835fdec2cf521d5c24631a0ca9c5adc6b57
6
+ metadata.gz: 06db757e5c2fd9b0363fa1f1c9ab0d071dae6237f17143f107dff4c22ab61a06e3f8d93d1a8c654186fda792da4cbee696392666286b2f81bd72e86de7643979
7
+ data.tar.gz: 6d1c66f0423baf8093f898dfc301ccf4d72432bf196bb4222ed6e179b6d925de735276400d704343aa0c4099ac2ce87b024979db3869ee0427d37896be0cbc63
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2016-2023 Sylhare
3
+ Copyright (c) 2016-2024 Sylhare
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -66,7 +66,7 @@ Here are the main files of the template
66
66
  | ├── search.md # Search page
67
67
  | └── tags.md # The tag page
68
68
  ├── _config.yml # sample configuration
69
- ├── _data.yml
69
+ ├── _data
70
70
  | ├── authors.yml # Update the post authors configurations
71
71
  | ├── language.yml # Localization configuration
72
72
  | ├── biblio.yml # To create a reference bibliography
@@ -27,11 +27,10 @@
27
27
  {% endunless %}
28
28
  }{% unless forloop.last %},{% endunless %}
29
29
  {% endfor %}
30
- {% if site.collections.size > 1 %},{% endif %}
31
30
  {% for collection in site.collections %}
32
31
  {% unless collection.label == 'posts' or site[collection.label].size == 0 %}
33
32
  {% for page in site[collection.label] %}
34
- {
33
+ ,{
35
34
  {% if page.excluded or page.title != nil %}
36
35
  "title" : "{{ page.title | strip_newlines | escape }}",
37
36
  "category" : "{{ page.category }}",
@@ -41,11 +40,8 @@
41
40
  "excerpt" : {{ page.content | strip_html | strip_newlines | strip | escape | truncate: '250' | jsonify }},
42
41
  "content" : {{ page.content | strip_html | strip_newlines | strip | escape | jsonify }}
43
42
  {% endif %}
44
- }{% unless forloop.last %},{% endunless %}
43
+ }
45
44
  {% endfor %}
46
- {% else %}
47
- {}
48
45
  {% endunless %}
49
- {% unless forloop.last %},{% endunless %}
50
46
  {% endfor %}
51
47
  ]
@@ -9,7 +9,7 @@ layout: page
9
9
  {% for category in site.categories %}
10
10
  <a href="#{{ category | first | cgi_escape }}" class="category-anchor">
11
11
  <li>
12
- {{ category | first }}
12
+ {{ category | first }}
13
13
  <!-- {{ category | last | size | times: 100 | divided_by: site.tags.size | plus: 50 | divided_by: 100.0 }} -->
14
14
  <!-- <span class="category-number">{{ category | last | size }}</span> -->
15
15
  </li>
@@ -20,7 +20,12 @@ layout: page
20
20
  {% for category in site.categories %}
21
21
  <div class="category-group">
22
22
  {% capture group %}{{ category | first }}{% endcapture %}
23
- <h4 id="{{ group }}" class="title">{{ group }}</h4>
23
+ <h4 id="{{ group }}" class="title">
24
+ {{ group }}
25
+ {% if page.showCounts %}
26
+ ({{site.categories[group].size}})
27
+ {% endif %}
28
+ </h4>
24
29
  <div class="items">
25
30
  {% for post in site.categories[group] %}
26
31
  <a href="{{ post.url | relative_url }}" class="category-post-link">
@@ -1,6 +1,6 @@
1
1
  <!DOCTYPE html>
2
2
  <!--
3
- Type on Strap jekyll theme v2.4.9
3
+ Type on Strap jekyll theme v2.4.10
4
4
  Theme free for personal and commercial use under the MIT license
5
5
  https://github.com/sylhare/Type-on-Strap/blob/master/LICENSE
6
6
  -->
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  ---
3
3
  {% comment %}
4
- The json is created in search_input.liquid and included here to be compresed
4
+ The json is created in search_json.liquid and included here to be compressed
5
5
  {% endcomment %}
6
- {% capture _search %}{% include default/search_input.liquid %}{% endcapture %}
6
+ {% capture _search %}{% include default/search_json.liquid %}{% endcapture %}
7
7
  {% assign emptyField = '{ },' %}
8
8
  {{ _search | split: " " | join: " " | remove: emptyField }}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: type-on-strap
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.9
4
+ version: 2.4.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylhare
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-02-15 00:00:00.000000000 Z
12
+ date: 2024-08-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -110,7 +110,7 @@ files:
110
110
  - _includes/default/footer.liquid
111
111
  - _includes/default/head.liquid
112
112
  - _includes/default/navbar.liquid
113
- - _includes/default/search_input.liquid
113
+ - _includes/default/search_json.liquid
114
114
  - _includes/default/tags_list.liquid
115
115
  - _includes/gallery.html
116
116
  - _includes/portfolio.html