kcc-gem-theme 3.14.1 → 3.16.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 +4 -4
- data/_config.yml +6 -0
- data/_includes/accordion.html +7 -2
- data/_includes/document-head.html +5 -0
- 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: f7da13e5f730e3c51c390cc8bcadb0c51f3f4a147bf3dcedbf841cbc19550015
|
4
|
+
data.tar.gz: 861f870a4345e5520f2a31c69ccf2b863ac611701b6b758182d2db2dc6324601
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56c13eb5c04c2a8a08cc9e78fd1d061da73aea15bbd0402bea03b6be5f7eed352fb5c399efec01117810accf670b95506bd6584c115ff34f284d82e923c15756
|
7
|
+
data.tar.gz: 683192ab766ef7d5ff4098a7fc3e8f37ba485db9a70ce99516280cd20d69d3c7cee9bef73dd26a3c619678ae1dcef69c7287d3895c9ddeabe92192796aed8151
|
data/_config.yml
CHANGED
@@ -71,6 +71,12 @@ compress_html:
|
|
71
71
|
uploads_dir: # specifies the default uploads directory for uploads in CloudCannon
|
72
72
|
- "uploads/"
|
73
73
|
|
74
|
+
# Hide page.schema_json_partial setting from CloudCannon
|
75
|
+
## Non-developers should never touch this setting!
|
76
|
+
_inputs:
|
77
|
+
schema_json_partial:
|
78
|
+
hidden: true
|
79
|
+
|
74
80
|
## ================================================ ##
|
75
81
|
## Global/Main Navigation configuration for kcc.edu ##
|
76
82
|
## ================================================ ##
|
data/_includes/accordion.html
CHANGED
@@ -15,10 +15,15 @@
|
|
15
15
|
an em-dash character that will look like another hyphen (monospace code editor font.)
|
16
16
|
{%- endcomment -%}
|
17
17
|
{%- assign this_accordion_id = item.card_heading | downcase | remove: '-' | remove: '—' | remove: '—' | replace: '&', 'and' | replace: ' ', '-' | remove: "'" | replace: "/", "-" | replace: 'é', 'e' | remove: '’' | remove: '0' | remove: '1' | remove: '2' | remove: '3' | remove: '4' | remove: '5' | remove: '6' | remove: '7' | remove: '8' | remove: '9' | remove: '?' | remove: '!' | remove: '#' | remove: '$' | remove: '.' | remove: ',' | remove: '(' | remove: ')' | remove: '®' | remove: '©' -%}
|
18
|
+
{%- endif -%}
|
19
|
+
{%- if include.alternate_heading_level -%}
|
20
|
+
{%- assign heading_level = include.alternate_heading_level -%}
|
21
|
+
{%- else -%}
|
22
|
+
{%- assign heading_level = 'h2' -%}
|
18
23
|
{%- endif -%}
|
19
24
|
<div class="card">
|
20
25
|
<div class="card-header px-0" id="card-header-{{ this_accordion_id }}">
|
21
|
-
<
|
26
|
+
<{{ heading_level }} class="mb-0 accordion__typography--card-header accordion__typography--hover">
|
22
27
|
<button
|
23
28
|
class="btn btn-link buttons__no-decoration accordion__button{% if forloop.first != true %} collapsed{% endif %}{% if forloop.first == true and page.accordion_expanded == false %} collapsed{% endif %}"
|
24
29
|
type="button" data-bs-target="#{{ this_accordion_id }}" data-bs-toggle="collapse"
|
@@ -26,7 +31,7 @@
|
|
26
31
|
aria-controls="{{ this_accordion_id }}">
|
27
32
|
{{ item.card_heading }}
|
28
33
|
</button>
|
29
|
-
</
|
34
|
+
</{{ heading_level }}>
|
30
35
|
</div>
|
31
36
|
<div id="{{ this_accordion_id }}"
|
32
37
|
class="collapse links__offset{% if forloop.first == true and page.accordion_expanded != false %} show{% endif %}"
|
@@ -9,7 +9,12 @@
|
|
9
9
|
{% else %}
|
10
10
|
<title>{{page.title}} - {{site.title}}</title>
|
11
11
|
{% endif %}
|
12
|
+
{% if page.schema_json_partial and page.schema_json_partial != '' %}
|
13
|
+
{% include {{ page.schema_json_partial }} %}
|
14
|
+
{% endif %}
|
15
|
+
{% if page.description and page.description != '' %}
|
12
16
|
<meta name="description" content="{{ page.description | replace: '"', '"' }}">
|
17
|
+
{% endif %}
|
13
18
|
{%- if site.canonical_baseurl %}
|
14
19
|
<link rel="canonical" href="{% if site.canonical_baseurl == 'https://www.kcc.edu' and page.url == '/' %}{{ site.canonical_baseurl }}{% else %}{{ site.canonical_baseurl }}{{ page.url }}{% endif %}">
|
15
20
|
{%- endif %}
|
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.
|
4
|
+
version: 3.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- wdzajicek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|