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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83727d74f41256687d85ffe2f8d8291f38a4df39544ad525328e4f074edb4dfc
4
- data.tar.gz: a496af0984c2547ca07b0bfacdbc0bb0a94c5caee77e12ce11d45045f4f91115
3
+ metadata.gz: 57141ded6a88c3c8b9b44f6e0a54ce753eb35229e53255f9883f0b50bcee88f3
4
+ data.tar.gz: f13ae5b0b75d46a352c75f43043ddc40d5b8bcd2ac376f7f4040557cc6cece7d
5
5
  SHA512:
6
- metadata.gz: c6ccb90f5d028895616e853f2430091ce8e414a6bbf0fed19770a5ae99d23f689fe1e565166cd707b0045abad4d6ef63d86168f9e42361bfd466f00f4a8ec946
7
- data.tar.gz: 85cef85ea69f40b975d680be3e980aff612a15a2282996b7780a3a696b371cba89791e370816115b783c5ffd502e4bf6bb81d0ae8cfe116f9f475646be812682
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>
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.50
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-23 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_a1ea224cc6c5872d30c0587c6bfc2c5c@noreply.gitlab.com
43
+ - group_58921183_bot_9fbb8a5e2eeb67e685e43b34bee116da@noreply.gitlab.com
44
44
  executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []