type-on-strap 2.4.9 → 2.4.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/_includes/default/{search_input.liquid → search_json.liquid} +2 -6
- data/_layouts/categories.liquid +7 -2
- data/_layouts/default.html +1 -1
- data/assets/data/search.liquid +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5f7c34c5bda2cf111c6a516ce892acf9b38b8ea736ead2c399afd491ada2c5b0
|
|
4
|
+
data.tar.gz: 730e35d536afe00d315c0d836dc76c1b8602a2f60f389fcbb7c786ca1ea8124a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 06db757e5c2fd9b0363fa1f1c9ab0d071dae6237f17143f107dff4c22ab61a06e3f8d93d1a8c654186fda792da4cbee696392666286b2f81bd72e86de7643979
|
|
7
|
+
data.tar.gz: 6d1c66f0423baf8093f898dfc301ccf4d72432bf196bb4222ed6e179b6d925de735276400d704343aa0c4099ac2ce87b024979db3869ee0427d37896be0cbc63
|
data/LICENSE
CHANGED
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
|
|
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
|
-
}
|
|
43
|
+
}
|
|
45
44
|
{% endfor %}
|
|
46
|
-
{% else %}
|
|
47
|
-
{}
|
|
48
45
|
{% endunless %}
|
|
49
|
-
{% unless forloop.last %},{% endunless %}
|
|
50
46
|
{% endfor %}
|
|
51
47
|
]
|
data/_layouts/categories.liquid
CHANGED
|
@@ -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">
|
|
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">
|
data/_layouts/default.html
CHANGED
data/assets/data/search.liquid
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
---
|
|
3
3
|
{% comment %}
|
|
4
|
-
The json is created in
|
|
4
|
+
The json is created in search_json.liquid and included here to be compressed
|
|
5
5
|
{% endcomment %}
|
|
6
|
-
{% capture _search %}{% include default/
|
|
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.
|
|
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
|
|
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/
|
|
113
|
+
- _includes/default/search_json.liquid
|
|
114
114
|
- _includes/default/tags_list.liquid
|
|
115
115
|
- _includes/gallery.html
|
|
116
116
|
- _includes/portfolio.html
|