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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5bbd605b0eae6cf77f1bcec75d23c84cc389275f9adf30f20481c10fcf5dd2e7
4
- data.tar.gz: 391c28b495b7aef21c75061c16ef448005254b578f3549c99646257ec4b49bb2
3
+ metadata.gz: ed8f3eef53a6b58f1ec291fb6c35652cfdf421de0016d2d039e144f8bea72fec
4
+ data.tar.gz: 86008216c71eccdaaaa5db5e24a74f91749802ae58d185749aad863ab0a6d4dc
5
5
  SHA512:
6
- metadata.gz: b9d89aaf303bfe1887312641acbd434aa22e583c123eb4b3c357b2a452733907929afde0d43f058b25130f92c7a131356785831134b3cf4a88690ef047154189
7
- data.tar.gz: 0034e7228f873c1261b4bf118c26d9e69772c52de7c42b8f0c6f62d0b93c3f1f2178a7b0420ab3c42412110ab74a19ebc19eb9a78ec83b61df87627dd3a810ca
6
+ metadata.gz: d6494224a0620d33e7c896491e9ff2827aab9754221faaaa021df1f1718c523951898fd4f8c592d3bad3a47d51a1ab90a7ee7c8d94f2e684a75dbfe0c4520e18
7
+ data.tar.gz: 70e660d8808125c186aed57d1cb46009db0ce9b10bf4d2b030955c12ea75c6aec1315a56bbb11f0f2426cfdb1914582215464b49f61d15e39d2fd2e680e80f31
@@ -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 %}{% comment %}{% endcomment %}
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 link.text != 'dropdown-divider' %}<a class="dropdown-item" href="{% if link.href contains 'http://' or link.href contains 'https://' %}{{ link.href }}{% elsif item.link_href contains site_name_lowercase %}{{ page.baseurl }}{{ link.href }}{% else %}/{{ item.link_href }}/{{ link.href }}{% endif %}">{{ link.text }}</a>{% else %}<div class="dropdown-divider"></div>{% endif %}
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.44
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-25 00:00:00.000000000 Z
11
+ date: 2020-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll