kcc-gem-theme 1.60.44 → 1.61.48

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5bbd605b0eae6cf77f1bcec75d23c84cc389275f9adf30f20481c10fcf5dd2e7
4
- data.tar.gz: 391c28b495b7aef21c75061c16ef448005254b578f3549c99646257ec4b49bb2
3
+ metadata.gz: c478212e84dc034576dca0d6e5f9292b057319a62a6e2e837d70125957b9a1d7
4
+ data.tar.gz: fb4276cf30358c84c4589c98889fb7e3d9e30dbfca43c1a123956a50ad57405f
5
5
  SHA512:
6
- metadata.gz: b9d89aaf303bfe1887312641acbd434aa22e583c123eb4b3c357b2a452733907929afde0d43f058b25130f92c7a131356785831134b3cf4a88690ef047154189
7
- data.tar.gz: 0034e7228f873c1261b4bf118c26d9e69772c52de7c42b8f0c6f62d0b93c3f1f2178a7b0420ab3c42412110ab74a19ebc19eb9a78ec83b61df87627dd3a810ca
6
+ metadata.gz: df1e3d11f1f4f33cf1526aa79f9c0d34af35d4c31a763d5c4f0ac7ca9deeea718078f0bf383a4f41953f682977becd5ffb52b332f19e2051bdfbbbdb64850583
7
+ data.tar.gz: 957f2f727462b7b0a61b109a0fe55581edd8f5772438cd4d41af72d386ed6e0bf4ab878c0f5ea3b7252b227a5452558e34df49372c1ce99cdbc32172f6ae6304
@@ -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">
@@ -12,7 +12,7 @@
12
12
  </div>
13
13
  {% else %}
14
14
  <div>
15
- <a {% if slide.url contains 'https://' or slide.url contains 'http:// %}target="_blank" href="{{ slide.url }}"{% elsif url_first_char == '.' or url_first_char == '/' %}href="{{ slide.url }}"{% else %}href="{{ page.baseurl }}{{ slide.url }}{% endif %}"><img src="assets/img/placeholder.png" data-src="{{page.baseurl}}{{slide.image}}" class="img-fluid hero-slider__slider--slide-img {% if slide.white_background %} hero-slider__slide-img--border{% endif %}" alt="{{slide.alt-text}}" /></a>
15
+ <a {% if slide.url contains 'https://' or slide.url contains 'http:// %}target="_blank" href="{{ slide.url }}"{% elsif url_first_char == '.' or url_first_char == '/' %}href="{{ slide.url }}"{% else %}href="{{ page.baseurl }}{{ slide.url }}{% endif %}"><img src="{{ page.baseurl }}assets/img/kcc-placeholder.png" data-src="{{page.baseurl}}{{slide.image}}" class="img-fluid hero-slider__slider--slide-img {% if slide.white_background %} hero-slider__slide-img--border{% endif %}" alt="{{slide.alt-text}}" /></a>
16
16
  {% if slide.text and slide.text != '' %}<div class="hero-slider__slider--heading-container text-center">
17
17
  <h3 class="hero-slider__slider--slide-heading">{{slide.text}}</h3>
18
18
  </div>{% endif %}
@@ -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>
@@ -1,15 +1,20 @@
1
+ <div class="row editor-link">
2
+ <div class="col editor-link mb-3">
3
+ <a href="cloudcannon:collections/_tabs/" class="btn btn-success editor-button">Edit Tabs Collection</a>
4
+ </div>
5
+ </div>
1
6
  <ul class="nav nav-tabs" id="{{ page.title | replace: ' ', '-' | downcase }}" role="tablist">
2
7
  {% assign page_title = page.title %}
3
8
  {% assign tab_collection = site.tabs | where: "tabs_page", page_title | sort: "order" %}
4
9
  {% for tab in tab_collection %}
5
10
  <li class="nav-item">
6
- <a class="nav-link{% if forloop.first == true %} active{% endif %}" id="{{ tab.name | downcase | replace: ' ', '-' }}-tab" data-toggle="tab" href="#{{ tab.name | downcase | replace: ' ', '-' }}" role="tab" aria-controls="{{ tab.name | downcase | replace: ' ', '-' }}" aria-selected="{% if forloop.first == true %}true{% else %}false{% endif %}">{{ tab.name }}</a>
11
+ <a class="nav-link{% if forloop.first == true %} active{% endif %}" id="{{ tab.name | downcase | replace: ' ', '-' | replace: '&', 'and' | remove: '(' | remove: ')' | remove: '!' }}-tab" data-toggle="tab" href="#{{ tab.name | downcase | replace: ' ', '-' | replace: '&', 'and' | remove: '(' | remove: ')' | remove: '!' }}" role="tab" aria-controls="{{ tab.name | downcase | replace: ' ', '-' | replace: '&', 'and' | remove: '(' | remove: ')' | remove: '!' }}" aria-selected="{% if forloop.first == true %}true{% else %}false{% endif %}">{{ tab.name }}</a>
7
12
  </li>
8
13
  {% endfor %}
9
14
  </ul>
10
15
  <div class="tab-content mt-3 px-1" id="{{ page.title | replace: ' ', '-' | downcase }}-content">
11
16
  {% for tab in tab_collection %}
12
- <div class="tab-pane fade{% if forloop.first == true %} show active{% endif %}" id="{{ tab.name | downcase | replace: ' ', '-' }}" role="tabpanel" aria-labelledby="{{ tab.name | downcase | replace: ' ', '-' }}-tab">
17
+ <div class="tab-pane fade{% if forloop.first == true %} show active{% endif %}" id="{{ tab.name | downcase | replace: ' ', '-' | replace: '&', 'and' | remove: '(' | remove: ')' | remove: '!' }}" role="tabpanel" aria-labelledby="{{ tab.name | downcase | replace: ' ', '-' | replace: '&', 'and' | remove: '(' | remove: ')' | remove: '!' }}-tab">
13
18
  {{ tab.content }}
14
19
  </div>
15
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: 1.60.44
4
+ version: 1.61.48
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-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll