kcc-gem-theme 2.1.3 → 2.2.0

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: f1a5488089d705d9fa8258955e184d703ad44de694f39d6c9d735a7cc4cb000f
4
- data.tar.gz: 16ff0323598b27c7621cbdd861b08c9f42ebd10ae158418eba795c39e20d3be9
3
+ metadata.gz: 11277c620948001ff389e119bafcda60b880da53fd89a735eb9f46236f869706
4
+ data.tar.gz: 969cc661378baf8aa8f3aff397fa4d28543801ef928b1ad0edb40a8338a2f4fb
5
5
  SHA512:
6
- metadata.gz: adeb18ebfcc727b83354d813240df6fbe6b4e20628b3ec5dd5f227e83552d016e188d2b4c5dec90efbf043b822a28b4372df85674980a58dc756f5a64ffc13e6
7
- data.tar.gz: e2adbd1223b86f3d48c9f74f0148ca408669932f10e532a64c5296fae17a95e6419b51661e13140fb1bd814977cba1ecbc1abd2186ae9e7d73c34071c63ca6e6
6
+ metadata.gz: 2cd6d1fc873c1eff598f5708c5d0d8d5d7e65a6e4f3d6af2ebfa94b7f673c882677875da3b80669651b1e239ddd3a73bd8f683b8ef64a003b51562d060d6eab6
7
+ data.tar.gz: 633ea5e216ddb6b7b0ca1ddf949ce4af4031faeef650afcd79f6adacec21b6e02093bfd565105036a965802ca21d04e8f7a1bd2e74eb3725ef177f28e3e4b58d
@@ -2,7 +2,28 @@
2
2
  <nav aria-label="breadcrumb">
3
3
  <ol class="breadcrumb breadcrumbs">
4
4
  {% if site.core_root == true %}
5
- <li class="breadcrumb-item">Home</li>
5
+ {% if page.title != '404' and page.title != 'Settings' %}
6
+ <li class="breadcrumb-item">
7
+ <svg id="home-icon" role="image" class="breadcrumbs--home" height="24px" width="24px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-labelledby="home-icon-title">
8
+ <title lang="en" id="home-icon-title">Home</title>
9
+ <path class="breadcrumbs--home--border" d="M0,0h24v24H0V0z"/>
10
+ <polygon class="breadcrumbs--home--house" points="14.5,19.5 14.5,13.5 9.5,13.5
11
+ 9.5,19.5 5.5,19.5 5.5,11.5 3.3,11.5 12,3.7 20.7,11.5 18.5,11.5 18.5,19.5 "/>
12
+ </svg>
13
+ </li>
14
+ {% else if page.title == '404' or page.title == 'Settings' %}
15
+ <li class="breadcrumb-item">
16
+ <a href="../">
17
+ <svg id="home-icon" role="image" class="breadcrumbs--home" height="24px" width="24px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-labelledby="home-icon-title">
18
+ <title lang="en" id="home-icon-title">Home</title>
19
+ <path class="breadcrumbs--home--border" d="M0,0h24v24H0V0z"/>
20
+ <polygon class="breadcrumbs--home--house" points="14.5,19.5 14.5,13.5 9.5,13.5
21
+ 9.5,19.5 5.5,19.5 5.5,11.5 3.3,11.5 12,3.7 20.7,11.5 18.5,11.5 18.5,19.5 "/>
22
+ </svg>
23
+ </a>
24
+ </li>
25
+ <li class="breadcrumb-item active" aria-current="page">{{ page.title }}</li>
26
+ {% endif %}
6
27
  {% else %}
7
28
  {% if page.url == "/" %}
8
29
  <li class="breadcrumb-item">
@@ -1,6 +1,7 @@
1
- <div id="emergencyAlerts" class="position__offset-alert{% if site.core_site == true %} position__offset-alert-core{% endif %}{% if site.core_root == true %} position__offset-alert-core--root{% endif %}">
1
+ <div id="emergencyAlerts" class="position__offset-alert{% if site.core_site == true %} position__offset-alert-core{% endif %}{% if site.core_root == true %} position__offset-alert-core--root{% endif %}{% if page.title == 'Settings' %} positioning__offset--settings{% endif %}">
2
2
  <!-- Alerts get built here via JS if they are set to be active -->
3
3
  {%- comment -%}
4
+ <!-- Example HTML structure of the alert -->
4
5
  <div class="container position__offset-alert">
5
6
  <div class="row">
6
7
  <div class="col">
@@ -1,6 +1,17 @@
1
- <!-- preconnect to Google assets -->
1
+ <!-- preconnect to assets -->
2
2
  <!-- fonts -->
3
+ <!-- preconnect to the Eurostile typekit font -->
4
+ <link rel="preconnect" href="https://use.typekit.net">
5
+ <!-- Google fonts -->
3
6
  <link rel="preconnect" href="https://fonts.gstatic.com">
4
- <!-- GCS -->
7
+ <!-- Google Cusom Search -->
5
8
  <link rel="preconnect" href="https://clients1.google.com">
6
- <link rel="preconnect" href="https://www.google.com">
9
+ <link rel="preconnect" href="https://www.google.com">
10
+ <!-- Google API -->
11
+ <link rel="preconnect" as="script" href="https://apis.google.com/js/api.js">
12
+ <!-- Custom theme JS -->
13
+ <link rel="preconnect" as="script" href="{{page.baseurl}}assets/js/dist/kcc-theme.bundle.js?version={% include hash/theme_hash.yml %}">
14
+ {%- if site.theme_config != true -%}
15
+ <link rel="preconnect" as="script" href="{{page.baseurl}}assets/js/dist/main{% if site.data.hash %}.{{ site.data.hash }}{% endif %}.bundle.js">
16
+ {%- endif -%}
17
+ <!-- End of preconnects -->
@@ -1,2 +1,4 @@
1
+ {%- if site.theme_config != true -%}
1
2
  <!-- custom compiled and minified javascript -->
2
- <script src="{{page.baseurl}}assets/js/dist/main{% if site.data.hash %}.{{ site.data.hash }}{% endif %}.bundle.js" defer></script>
3
+ <script src="{{page.baseurl}}assets/js/dist/main{% if site.data.hash %}.{{ site.data.hash }}{% endif %}.bundle.js" defer></script>
4
+ {%- endif -%}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kcc-gem-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - wdzajicek