jekyll-theme-profile 2.2.1 → 2.2.3
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/_includes/awesome-nav-menu-tree.html +2 -1
- data/_includes/awesome-nav-tree.html +4 -17
- 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: 46a121d5e115df9c819fbb8a375453c0a25245465171fa7462f44a536a8d83bb
|
|
4
|
+
data.tar.gz: 9417cfa00dd75dbf1c8a280512a46fe7f0e7a4925e9d2df9f6de7674abec172c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2eaebac797297f4085661ff899c4ef18e395e6a2bd1bd7dcc1c40c31562eb4d42ece07ff54356841a33e2efc43f3219dbdf6ae8a0c2d46f60cac985edba68602
|
|
7
|
+
data.tar.gz: f9e3a0cfd293c5497a1b3ee00e8db57f0571b3a4696edb88d3fce3918169620b56ef57657497af52e26114e6efa7fc3e781c5ad76735367f566089d13497d08d
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{% for nav_item in include.items %}
|
|
2
2
|
{% assign item_url = nav_item.url | default: "" %}
|
|
3
3
|
{% assign has_children = nav_item.children and nav_item.children.size > 0 %}
|
|
4
|
+
{% assign is_current = nav_item.current | default: false %}
|
|
4
5
|
|
|
5
6
|
{% if item_url != "" %}
|
|
6
|
-
<a href="{{ item_url | relative_url }}" class="menu-item border-0" role="menuitem" {% if
|
|
7
|
+
<a href="{{ item_url | relative_url }}" class="menu-item border-0" role="menuitem" {% if is_current %}aria-current="page"{% endif %}>
|
|
7
8
|
{{ nav_item.title }}
|
|
8
9
|
</a>
|
|
9
10
|
{% else %}
|
|
@@ -1,21 +1,8 @@
|
|
|
1
1
|
{% for nav_item in include.items %}
|
|
2
2
|
{% assign item_url = nav_item.url | default: "" %}
|
|
3
3
|
{% assign has_children = nav_item.children and nav_item.children.size > 0 %}
|
|
4
|
-
{% assign is_expanded = false %}
|
|
5
|
-
|
|
6
|
-
{% if page.breadcrumbs %}
|
|
7
|
-
{% if item_url != "" %}
|
|
8
|
-
{% assign breadcrumb_item = page.breadcrumbs | where: "url", item_url | first %}
|
|
9
|
-
{% if breadcrumb_item %}
|
|
10
|
-
{% assign is_expanded = true %}
|
|
11
|
-
{% endif %}
|
|
12
|
-
{% else %}
|
|
13
|
-
{% assign breadcrumb_item = page.breadcrumbs | where: "title", nav_item.title | first %}
|
|
14
|
-
{% if breadcrumb_item %}
|
|
15
|
-
{% assign is_expanded = true %}
|
|
16
|
-
{% endif %}
|
|
17
|
-
{% endif %}
|
|
18
|
-
{% endif %}
|
|
4
|
+
{% assign is_expanded = nav_item.contains_current | default: false %}
|
|
5
|
+
{% assign is_current = nav_item.current | default: false %}
|
|
19
6
|
|
|
20
7
|
{% if has_children %}
|
|
21
8
|
<li class="list-style-none">
|
|
@@ -23,7 +10,7 @@
|
|
|
23
10
|
<summary class="list-style-none color-fg-default">
|
|
24
11
|
{% if item_url != "" %}
|
|
25
12
|
<a href="{{ item_url | relative_url }}" class="ActionListItem-label no-underline">
|
|
26
|
-
<div class="menu-item ActionList-item border-0 d-flex flex-items-center flex-justify-between" {% if
|
|
13
|
+
<div class="menu-item ActionList-item border-0 d-flex flex-items-center flex-justify-between" {% if is_current %}aria-current="page"{% endif %}>
|
|
27
14
|
<span>{{ nav_item.title }}</span>
|
|
28
15
|
<span class="awesome-nav-chevron color-fg-muted d-flex flex-items-center" aria-hidden="true">
|
|
29
16
|
<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
|
|
@@ -52,7 +39,7 @@
|
|
|
52
39
|
{% elsif item_url != "" %}
|
|
53
40
|
<li class="list-style-none">
|
|
54
41
|
<a href="{{ item_url | relative_url }}" class="ActionListItem-label no-underline">
|
|
55
|
-
<div class="menu-item ActionList-item border-0" {% if
|
|
42
|
+
<div class="menu-item ActionList-item border-0" {% if is_current %}aria-current="page"{% endif %}>
|
|
56
43
|
{{ nav_item.title }}
|
|
57
44
|
</div>
|
|
58
45
|
</a>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-profile
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.2.
|
|
4
|
+
version: 2.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Allison Thackston
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-05-
|
|
11
|
+
date: 2026-05-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|