kcc-gem-theme 3.7.3 → 3.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/nav-sub.html +7 -1
- 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: '079acb9666ad53f314457552d484f61b33640235e8cdcc3c8ab2af4a7f192c4c'
|
4
|
+
data.tar.gz: 6a3ffc12bd8ba5c9cd3f9a209e645c7e330e78450a8929b5f1b7ccca5c4ad7dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '04176748ba92e4896c941911b3dd450b60cfb0b37ef601acc1ecd21a57e7082d65118622893aae003b9548bd2bbaae77cb0756934f1a9ee3743045fdc92d428e'
|
7
|
+
data.tar.gz: 5c7c871a8140e837bbfdb21054383271c916a4dff2a480edb512b434e0a752ff266c4476854008bdd97f8321ceb176ea2fc5ea2354d21da8a35bc8d67dfae540
|
data/_includes/nav-sub.html
CHANGED
@@ -7,8 +7,14 @@
|
|
7
7
|
{% assign section = page.sub-nav_section | downcase | append: "/" %}
|
8
8
|
{% for nav in site.sub-nav_links %}
|
9
9
|
{% if nav.link_href contains section %}
|
10
|
+
{% assign last_char = nav.link_href | slice: -1, 1 %}
|
11
|
+
{% if last_char == '/' or nav.link_href contains '#contact' %}
|
12
|
+
{% assign link = nav.link_href %}
|
13
|
+
{% else %}
|
14
|
+
{% assign link = nav.link_href | append: '/' %}
|
15
|
+
{% endif %}
|
10
16
|
<li class="nav-item js-sub-nav-item">
|
11
|
-
<a href="{{ page.baseurl }}{{
|
17
|
+
<a href="{{ page.baseurl }}{{ link }}" class="nav-link sub-nav__nav-link">{{ nav.link_text }}</a>
|
12
18
|
</li>
|
13
19
|
{% endif %}
|
14
20
|
{% endfor %}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kcc-gem-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.7.
|
4
|
+
version: 3.7.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- wdzajicek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|