kcc-gem-theme 3.7.3 → 3.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/document-head.html +4 -0
- data/_includes/nav-sub.html +7 -1
- 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: 1c4a29fe56a1b6f0304f3e62f4486f6ffd11cf7407b03162989e4095a2882319
|
4
|
+
data.tar.gz: 1246e87eb1c98f9c04dbe72ef702d653e6a356995955074aa933f21999f145c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58e07bef291c0c4d932f11550aa241cb43b5cc7666c3cfd33eb7337733c7d3d6b2d9a275ee53454cbc37978552a755b1fd0980df8222f934bf267413653dc313
|
7
|
+
data.tar.gz: 047d713c1db2946d2204cda017e48f2a743d76895fd4b13be95f89e5690791ed168e5ed133b33cb6480e3e3df2b75e63cbd36bbee4ee070a83764671d61bf201
|
@@ -4,7 +4,11 @@
|
|
4
4
|
<!-- Meta -->
|
5
5
|
<meta charset="utf-8">
|
6
6
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
7
|
+
{% if site.subsection_title %}
|
8
|
+
<title>{{page.title}} - {{site.subsection_title}}</title>
|
9
|
+
{% else %}
|
7
10
|
<title>{{page.title}} - {{site.title}}</title>
|
11
|
+
{% endif %}
|
8
12
|
<meta name="description" content="{{ page.description | replace: '"', '"' }}">
|
9
13
|
{%- if site.canonical_baseurl %}
|
10
14
|
<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 %}">
|
data/_includes/nav-sub.html
CHANGED
@@ -7,8 +7,14 @@
|
|
7
7
|
{% assign section = page.sub-nav_section | downcase | append: "/" %}
|
8
8
|
{% for nav in site.sub-nav_links %}
|
9
9
|
{% if nav.link_href contains section %}
|
10
|
+
{% assign last_char = nav.link_href | slice: -1, 1 %}
|
11
|
+
{% if last_char == '/' or nav.link_href contains '#contact' %}
|
12
|
+
{% assign link = nav.link_href %}
|
13
|
+
{% else %}
|
14
|
+
{% assign link = nav.link_href | append: '/' %}
|
15
|
+
{% endif %}
|
10
16
|
<li class="nav-item js-sub-nav-item">
|
11
|
-
<a href="{{ page.baseurl }}{{
|
17
|
+
<a href="{{ page.baseurl }}{{ link }}" class="nav-link sub-nav__nav-link">{{ nav.link_text }}</a>
|
12
18
|
</li>
|
13
19
|
{% endif %}
|
14
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: 3.7.
|
4
|
+
version: 3.7.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- wdzajicek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|