jekyll-theme-centos 2.51.1.beta.50 → 2.51.1.beta.51
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/base/link.html +17 -1
- data/_includes/base/navbar.html +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57141ded6a88c3c8b9b44f6e0a54ce753eb35229e53255f9883f0b50bcee88f3
|
4
|
+
data.tar.gz: f13ae5b0b75d46a352c75f43043ddc40d5b8bcd2ac376f7f4040557cc6cece7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36c49846166d8b4b7c21adf2c3b9e5c4c838d4edd0e67b719895781d6ef697222fc277a5f6e1e32e6bb0ac942bd055d74454e164cbf250dc77216a99233e1ad5
|
7
|
+
data.tar.gz: 506fa940be404139ad9b3b3bf96a7e2cf13be1643f41a092015bd452f5215324c894a5d210cd6f0733c2bfd4ce12d5e9ca8ab847d59156f7d212e57a4eb68f30
|
data/_includes/base/link.html
CHANGED
@@ -1 +1,17 @@
|
|
1
|
-
|
1
|
+
{%- capture href -%}
|
2
|
+
{%- if include.url contains "https://" or include.url contains "http://" -%}
|
3
|
+
{{- include.url -}}
|
4
|
+
{%- else -%}
|
5
|
+
{{- site.url }}{{ site.baseurl }}{{ include.url -}}
|
6
|
+
{%- endif -%}
|
7
|
+
{%- endcapture -%}
|
8
|
+
{%- capture class -%}
|
9
|
+
{%- if include.class -%}
|
10
|
+
{{- include.class -}}
|
11
|
+
{%- else -%}
|
12
|
+
link-{{ include.color | default: "primary" }} link-offset-3 link-offset-3-hover link-underline-{{ include.color | default: "primary" }} link-underline-opacity-25 link-underline-opacity-75-hover
|
13
|
+
{%- endif -%}
|
14
|
+
{%- endcapture -%}
|
15
|
+
{%- if include.url -%}
|
16
|
+
<a href="{{ href }}" class="{{ class }}"{% if include.role %} role="{{ include.role }}"{% endif %}>{% if include.icon %}<i class="{{ include.icon }}"></i> {% endif %}{{ include.name }}</a>
|
17
|
+
{%- endif -%}
|
data/_includes/base/navbar.html
CHANGED
@@ -15,14 +15,14 @@
|
|
15
15
|
{% for navitem in navitems -%}
|
16
16
|
{% if navitem.menu.size == 0 -%}
|
17
17
|
<li class="nav-item">
|
18
|
-
|
18
|
+
{% include base/link.html class="nav-link" name=navitem.name url=navitem.link role="presentation" icon=navitem.icon %}
|
19
19
|
</li>
|
20
20
|
{% else -%}
|
21
21
|
<li class="nav-item dropdown">
|
22
22
|
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown-{{ forloop.index }}" role="button" data-bs-toggle="dropdown" aria-expanded="false"><i class="{{ navitem.icon }}"></i> {{ navitem.name }}</a>
|
23
23
|
<ul class="dropdown-menu dropdown-menu-dark shadow" aria-labelledby="navbarDropdown-{{ forloop.index }}">
|
24
24
|
{% for dropdownitem in navitem.menu -%}
|
25
|
-
<li
|
25
|
+
<li>{% include base/link.html class="dropdown-item" name=dropdownitem.name url=dropdownitem.link role="presentation" %}</li>
|
26
26
|
{% endfor -%}
|
27
27
|
</ul>
|
28
28
|
</li>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-centos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.51.1.beta.
|
4
|
+
version: 2.51.1.beta.51
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ReleaseBot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -40,7 +40,7 @@ dependencies:
|
|
40
40
|
version: 2.4.0
|
41
41
|
description:
|
42
42
|
email:
|
43
|
-
-
|
43
|
+
- group_58921183_bot_9fbb8a5e2eeb67e685e43b34bee116da@noreply.gitlab.com
|
44
44
|
executables: []
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|