jekyll-theme-saifas-it 0.1.2 → 0.1.3

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: 02706ebc46e1c5dd21938dd84300dd00483d76799f930e6cfa209885245b6edc
4
- data.tar.gz: 9b5f8205d8ff674673028b9216f0c9748cfafa58f1f8cd3381eb912350bbd565
3
+ metadata.gz: 633132b3ca61fd38776216929c44cdedd218b26a7e428a25d18bb97224b2a842
4
+ data.tar.gz: 521b406623425dfd540616b60bd2136389b1164a9d5a94a80056d46a158b18b2
5
5
  SHA512:
6
- metadata.gz: 592ca7d8fc384c3773c218d9b7410ffe8c7f32355e282924064ac09eb12ae8d69df5bd1d3e2b1f3740b1a82743e85851a3ab77f0d9186a3fac2c758f2d836bb0
7
- data.tar.gz: 32b9c01c90d26cc2c224cb2b2639771c5b49fa2c51f800fbb87cebb344f986163950c0eef25c9ea9126c2d0d8cb349dd8c2b401e62a5cff8ed57a8c894f495f4
6
+ metadata.gz: 4067feaaeef2e4451ee4eadbe7e4fc3111b11a52fbfe1a504b7afff2afb1e9a68487edfe6958d15828e00672b09dc39b8040cdfc05858c83834756b4ed185e9f
7
+ data.tar.gz: f818c7fdb3bc685c82048b783476f7356f1bf380dcec97b1420a3a48cca0106806a5cab0f164eef31a5b904b3a7c0c78b78945388663c4e302c17af243b5d01f
data/_config.yml CHANGED
@@ -2,7 +2,7 @@ title: Jekyll theme SAIFAS IT
2
2
  author:
3
3
  name: SAIFAS
4
4
  copyright: © SAIFAS
5
- version: 0.1.2
5
+ version: 0.1.3
6
6
  lang: en_US
7
7
  author: SAIFAS
8
8
  email: jekyll@saifas.info
@@ -1,6 +1,10 @@
1
1
  <div style="display: flex; align-items: center; margin-left: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis" id="breadcrumbs">
2
- {% assign crumbs = page.breadcrumbs-title %}
3
- {% for crumb in crumbs offset: 1 %}
4
- > <a href="{{ page.permalink }}">{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}</a>
5
- {% endfor %}
6
- </div>
2
+ {% assign crumbs = page.url | remove:'/index.html' | split: '/' %}
3
+ {% for crumb in crumbs offset: 1 %}
4
+ {% if forloop.last %}
5
+ > <a style="margin: 0 10px;" href="{% assign crumb_limit = forloop.index | plus: 1 %}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' | replace:'without-plugin/','without-plugins/' }}{% endfor %}">{{ page.breadcrumbs-title }}</a>
6
+ {% else %}
7
+ > <a style="margin: 0 10px;" href="{% assign crumb_limit = forloop.index | plus: 1 %}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' | replace:'without-plugin/','without-plugins/' }}{% endfor %}">{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}</a>
8
+ {% endif %}
9
+ {% endfor %}
10
+ </div>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-saifas-it
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - SAIFAS
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-11 00:00:00.000000000 Z
11
+ date: 2022-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll