jekyll-theme-saifas-it 0.1.3 → 0.1.4
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 +6 -8
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27227f690d0b6c0b16ccccd489e232314b339fe1bb02080ca1bae0be0adb87de
|
4
|
+
data.tar.gz: e7685ba0cd10937f42ffacacd4549d2fab07a6dea7fff7fff262a63a78b83652
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e42e7a07d1820e0363b0969e212d270376c7739acd0e6ed48f2fbb6d375e0b389d9efb0a9ee535e6e4ac80e9798c6a577d1122f11a05869467487e00eb700ac5
|
7
|
+
data.tar.gz: a577ea98d3da068b124070227d2f96b4ccf03846ff67f38c205b4edf3cd92076a1d827df6957712c54368ffe58a131881c151025e70f33abbb8e55d3d1d91d8c
|
data/_config.yml
CHANGED
@@ -1,10 +1,8 @@
|
|
1
|
-
<div style="display: flex; align-items: center; margin-left: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis" id="
|
2
|
-
{%
|
3
|
-
|
4
|
-
{% if
|
5
|
-
> <a style="margin: 0 10px;" href="{
|
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>
|
1
|
+
<div style="display: flex; align-items: center; margin-left: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis" id="breadcrumb">
|
2
|
+
{% for crumb in site.data.breadcrumbs %}
|
3
|
+
{% assign url_prefix = page.url | slice: 0, crumb.url.size %}
|
4
|
+
{% if url_prefix == crumb.url %}
|
5
|
+
> <a style="margin: 0 10px;" href="{{ crumb.url }}">{{ crumb.title }}</a>
|
8
6
|
{% endif %}
|
9
7
|
{% endfor %}
|
10
|
-
|
8
|
+
</div>
|