kcc-gem-theme 1.60.44 → 1.60.45
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/accordion.html +2 -2
- data/_includes/nav-global-bottom.html +6 -2
- 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: ed8f3eef53a6b58f1ec291fb6c35652cfdf421de0016d2d039e144f8bea72fec
|
4
|
+
data.tar.gz: 86008216c71eccdaaaa5db5e24a74f91749802ae58d185749aad863ab0a6d4dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6494224a0620d33e7c896491e9ff2827aab9754221faaaa021df1f1718c523951898fd4f8c592d3bad3a47d51a1ab90a7ee7c8d94f2e684a75dbfe0c4520e18
|
7
|
+
data.tar.gz: 70e660d8808125c186aed57d1cb46009db0ce9b10bf4d2b030955c12ea75c6aec1315a56bbb11f0f2426cfdb1914582215464b49f61d15e39d2fd2e680e80f31
|
data/_includes/accordion.html
CHANGED
@@ -4,11 +4,11 @@
|
|
4
4
|
</div>
|
5
5
|
</div>
|
6
6
|
<div id="accordion" class="accordion">
|
7
|
-
{% assign page_title = page.title | downcase | replace: ' ', '-' %}
|
7
|
+
{% assign page_title = page.title | downcase | replace: ' ', '-'| replace: '&', 'and' %}
|
8
8
|
{% assign site_categories = site.categories %}
|
9
9
|
{% assign accordion_collection = site.accordions | sort: "order" %}
|
10
10
|
{% for item in accordion_collection %}
|
11
|
-
{% if item.path contains page_title %}
|
11
|
+
{% if item.path contains page_title %}
|
12
12
|
<div class="card">
|
13
13
|
<div class="card-header accordion__padding-left" id="card-header-{{ item.card_heading | downcase | replace: '-', '' | replace: '&', 'and' | replace: ' ', '-' | replace: "'", "" }}">
|
14
14
|
<h2 class="mb-0 accordion__typography--card-header accordion__typography--hover">
|
@@ -13,9 +13,13 @@
|
|
13
13
|
<div class="col ml-lg-1">
|
14
14
|
{% if item.link_href %}
|
15
15
|
{% assign site_name_lowercase = site.site_name | downcase | replace: ' ', '-' | replace: '&', 'and' %}
|
16
|
-
<a class="dropdown-item typography__dropdown--category" href="/{{ item.link_href }}">{{ item.link_text }}</a>{% endif %}
|
16
|
+
<a class="dropdown-item typography__dropdown--category" href="{% if item.link_href contains site_name_lowercase %}{{ page.baseurl }}{% else %}/{{ item.link_href }}{% endif %}">{{ item.link_text }}</a>{% endif %}
|
17
17
|
{% for link in item.dropdown %}
|
18
|
-
{% if
|
18
|
+
{% if item.link_href contains site_name_lowercase %}
|
19
|
+
{% if link.text != 'dropdown-divider' %}<a class="dropdown-item" href="{% if link.href contains 'http://' or link.href contains 'https://' %}{{ link.href }}{% else %}{{ page.baseurl }}{{ link.href }}{% endif %}">{{ link.text }}</a>{% else %}<div class="dropdown-divider"></div>{% endif %}
|
20
|
+
{% else %}
|
21
|
+
{% if link.text != 'dropdown-divider' %}<a class="dropdown-item" href="{% if link.href contains 'http://' or link.href contains 'https://' %}{{ link.href }}{% else %}/{{ item.link_href }}/{{ link.href }}{% endif %}">{{ link.text }}</a>{% else %}<div class="dropdown-divider"></div>{% endif %}
|
22
|
+
{% endif %}
|
19
23
|
{% endfor %}
|
20
24
|
</div>
|
21
25
|
</div>
|
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: 1.60.
|
4
|
+
version: 1.60.45
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- wdzajicek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|