jekyll-bonsai 0.0.5 → 0.0.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72585ceda9750c7f60eca2d8bc006503f12bc2331fd2b6de9da5b2a250e78faf
4
- data.tar.gz: 643b66086e0e131c9241c0b7a9dc8028da22abc1e917133c5bf5c521a6db6c45
3
+ metadata.gz: ee0c25b0f3222f483cc3285446d876304bb87bcd102183e9000522e32a3ff6ac
4
+ data.tar.gz: b91f4266262807e03c1ac2639d92ade4cace202abefd5582586ea2ac85de1a4d
5
5
  SHA512:
6
- metadata.gz: e751ee29986f817f0eb1d586fd58b2fb315ede3b44ce69074bb1cae5d74da0e820214e28225ec1f7b64d725c8dc1d7155a39c62a2bbfcc9ef1d6035e7866bd89
7
- data.tar.gz: 8297fec38537840a069284f7fa67cb425549fbc42628152d74fd3dd1ae27163ce21dbbc2e65196070c0a3c00ef3e7376812327645cad035a98e43bb52907f751
6
+ metadata.gz: 47f022f171a22d4de7fc20bcb5574552b8fe3f9a8439d982c32770c3805aa662921739f003991fce81173b2139c7e2bfbf8c187bed044f001b2192b161822140
7
+ data.tar.gz: 5ecc00553c01ee7880d5d19bfe8bfe552d872f5f4823c3d621af0556b81d2b0e77e2be156323a665123709187eef8fd3ce351cd4531563fc454da1bb26711f68
data/_includes/tags.html CHANGED
@@ -2,14 +2,14 @@
2
2
 
3
3
  Usage:
4
4
  {% assign tag_attr = page.attributes | link_type: "tags" %}
5
- {% include tags.html tag_attr=tag_attr tag_fm=page.tags %}
5
+ {% include tags.html tags_attrs=tag_attr tags_fms=page.tags %}
6
6
 
7
7
  Parameters:
8
- * tag_attr (array) - array of attributes that are hashes with keys
8
+ * tags_attrs (array) - array of attributes that are hashes with keys
9
9
  'type' and 'urls'
10
10
  (which correspond to `jekyll-wikilinks`
11
11
  attributes and attributed metadata)
12
- * tag_fm (array) - array of strings that are tag names
12
+ * tags_fms (array) - array of strings that are tag names
13
13
  (which correspond to entry filenames)
14
14
 
15
15
  Note:
@@ -20,9 +20,8 @@
20
20
 
21
21
 
22
22
  <!-- 'tags' attribute -->
23
- {% assign tag_attrs = page.attributes | link_type: "tags" %}
24
- {% for tag_attrs in tag_attrs %}
25
- {% for url in tag_attrs.urls %}
23
+ {% for tag_attr in tags_attrs %}
24
+ {% for url in tag_attr.urls %}
26
25
  {% assign entry = site.entries | where: "url", url | first %}
27
26
  <button class="tag-pill {% if entry %}{% else %}disabled{% endif %}">
28
27
  {% if entry %}
@@ -35,7 +34,7 @@
35
34
  {% endfor %}
36
35
  {% endfor %}
37
36
  <!-- 'tags' frontmatter -->
38
- {% for sem_tag in page.tags %}
37
+ {% for sem_tag in tags_fms %}
39
38
  <!-- prefix with '/' to prevent matching subhierarchies -->
40
39
  {% assign sem_tag_path = "/" | append: sem_tag | append: ".md" %}
41
40
  {% assign entry = site.entries | find_exp: "item", "item.path contains sem_tag_path" %}
data/_layouts/book.html CHANGED
@@ -26,8 +26,8 @@ layout: base
26
26
  {% endif %}
27
27
  </div>
28
28
  <div class="infobox__sem-tags p-category">
29
- {% assign tag_attrs = page.attributes | link_type: "tags" %}
30
- {% include tags.html tag_attr=tag_attrs tag_fm=page.tags %}
29
+ {% assign tags_attrs = page.attributes | link_type: "tags" %}
30
+ {% include tags.html tags_attrs=tags_attrs tags_fm=page.tags %}
31
31
  </div>
32
32
  </div>
33
33
  </section>
data/_layouts/post.html CHANGED
@@ -24,8 +24,8 @@ layout: base
24
24
  {% endif %}
25
25
  </div>
26
26
  <div class="infobox__sem-tags p-category">
27
- {% assign tag_attrs = page.attributes | link_type: "tags" %}
28
- {% include tags.html tag_attr=tag_attrs tag_fm=page.tags %}
27
+ {% assign tags_attrs = page.attributes | link_type: "tags" %}
28
+ {% include tags.html tags_attrs=tags_attrs tag_fm=page.tags %}
29
29
  </div>
30
30
  </div>
31
31
  </section>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-bonsai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - manunamz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-20 00:00:00.000000000 Z
11
+ date: 2022-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -128,28 +128,28 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 0.0.9
131
+ version: 0.0.10
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 0.0.9
138
+ version: 0.0.10
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: jekyll-graph
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 0.0.5
145
+ version: 0.0.6
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 0.0.5
152
+ version: 0.0.6
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: rake
155
155
  requirement: !ruby/object:Gem::Requirement