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 +4 -4
- data/_config.yml +1 -1
- data/_includes/plugins/breadcrumbs.html +9 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 633132b3ca61fd38776216929c44cdedd218b26a7e428a25d18bb97224b2a842
|
4
|
+
data.tar.gz: 521b406623425dfd540616b60bd2136389b1164a9d5a94a80056d46a158b18b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4067feaaeef2e4451ee4eadbe7e4fc3111b11a52fbfe1a504b7afff2afb1e9a68487edfe6958d15828e00672b09dc39b8040cdfc05858c83834756b4ed185e9f
|
7
|
+
data.tar.gz: f818c7fdb3bc685c82048b783476f7356f1bf380dcec97b1420a3a48cca0106806a5cab0f164eef31a5b904b3a7c0c78b78945388663c4e302c17af243b5d01f
|
data/_config.yml
CHANGED
@@ -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.
|
3
|
-
{% for crumb in crumbs offset: 1 %}
|
4
|
-
|
5
|
-
{% endfor %}
|
6
|
-
|
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.
|
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
|
+
date: 2022-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|