jekyll-theme-centos 2.51.1.beta.49 → 2.51.1.beta.51

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6540593ed3dd8c216ad81416fe5db6ec328acbeafd20221e1b20b9a9c08d35f9
4
- data.tar.gz: 4c740a0b2888d232f8c7a77e511c30cec8d14c85b7d30666982d9369d625eee2
3
+ metadata.gz: 57141ded6a88c3c8b9b44f6e0a54ce753eb35229e53255f9883f0b50bcee88f3
4
+ data.tar.gz: f13ae5b0b75d46a352c75f43043ddc40d5b8bcd2ac376f7f4040557cc6cece7d
5
5
  SHA512:
6
- metadata.gz: edc115f6d6a8f28539eb2aa9b7f3df341f3563b22674a44ecb6895d9de46709110b1db757558cd958df4f96a77b068163af641dec2d5cabe2566d0ff5aadc7a9
7
- data.tar.gz: 791eb1c896ba0ae062606e9cae3cd33954813e71517f728ad0b63d8222126a042b9e637c3a4c5aed0f73ac886266d32c0ea6943b02c6ce2bcfe3db88f43a3434
6
+ metadata.gz: 36c49846166d8b4b7c21adf2c3b9e5c4c838d4edd0e67b719895781d6ef697222fc277a5f6e1e32e6bb0ac942bd055d74454e164cbf250dc77216a99233e1ad5
7
+ data.tar.gz: 506fa940be404139ad9b3b3bf96a7e2cf13be1643f41a092015bd452f5215324c894a5d210cd6f0733c2bfd4ce12d5e9ca8ab847d59156f7d212e57a4eb68f30
@@ -1 +1,17 @@
1
- <a class="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" href="{{ include.url }}">{{ include.name }}</a>
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 -%}
@@ -15,14 +15,14 @@
15
15
  {% for navitem in navitems -%}
16
16
  {% if navitem.menu.size == 0 -%}
17
17
  <li class="nav-item">
18
- <a class="nav-link" role="presentation" href="{{ site.url }}{{ site.baseurl }}{{ navitem.link }}"><i class="{{ navitem.icon }}"></i> {{ navitem.name }}</a>
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><a class="dropdown-item" role="presentation" href="{{ site.url }}{{ site.baseurl }}{{ dropdownitem.link }}">{{ dropdownitem.name }}</a></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>
@@ -9,7 +9,6 @@ body {
9
9
  // --------------------------------------------------------------------------------
10
10
  .sticky-top-breakingnews {
11
11
  top: 59px;
12
- z-index: 1031;
13
12
  }
14
13
  }
15
14
 
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.49
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-22 00:00:00.000000000 Z
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
- - group_58921183_bot_280e96a69f948da8b77e2f967e87c6dd@noreply.gitlab.com
43
+ - group_58921183_bot_9fbb8a5e2eeb67e685e43b34bee116da@noreply.gitlab.com
44
44
  executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []