jekyll-theme-centos 2.51.1.beta.50 → 2.51.1.beta.52

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: 1aa556f1d6b2a167c9e89553297453e79a1935ca3c6753f14f8c92e9a90e9466
4
+ data.tar.gz: '028608c3c02f37909f89c31618117cc9e898ab5b9c75f9cf570fb3c9f069e8a4'
5
5
  SHA512:
6
- metadata.gz: c6ccb90f5d028895616e853f2430091ce8e414a6bbf0fed19770a5ae99d23f689fe1e565166cd707b0045abad4d6ef63d86168f9e42361bfd466f00f4a8ec946
7
- data.tar.gz: 85cef85ea69f40b975d680be3e980aff612a15a2282996b7780a3a696b371cba89791e370816115b783c5ffd502e4bf6bb81d0ae8cfe116f9f475646be812682
6
+ metadata.gz: cae1850729a976b0269eedad82e5a6144c175c90d32cb4a3b93e0d4c9839ea777eca9cbe3c0d76ac4084b3912478e3ac3f4794919363bfed2942dcdaa5476e41
7
+ data.tar.gz: 39d719e032d0448027b4dc2e0cce992f1392bc19e194c1aa06b4c6a99b2b43e1730d9a952568287a2e63e485b5069b80b1847ab50f42d287b4c0e0fa7712ccf5
@@ -2,21 +2,24 @@
2
2
  #
3
3
  # site.data.base.social - Provides social networks information.
4
4
  #
5
- - name: Facebook
6
- icon: "fa-brands fa-facebook-f"
7
- link: "https://www.facebook.com/groups/centosproject/"
8
- - name: X
9
- icon: "fa-brands fa-x-twitter"
10
- link: "https://twitter.com/centos"
11
- - name: Youtube
12
- icon: "fa-brands fa-youtube"
5
+ - name: YouTube
6
+ icon: "fab fa-youtube"
13
7
  link: "https://youtube.com/TheCentOSProject"
14
- - name: Linkedin
15
- icon: "fa-brands fa-linkedin"
16
- link: "https://www.linkedin.com/groups/22405"
17
- - name: Reddit
18
- icon: "fa-brands fa-reddit"
19
- link: "https://www.reddit.com/r/CentOS/"
20
8
  - name: Mastodon
21
- icon: "fa-brands fa-mastodon"
9
+ icon: "fab fa-mastodon"
22
10
  link: "https://fosstodon.org/@centos"
11
+ - name: Facebook
12
+ icon: "fab fa-facebook-f"
13
+ link: "https://www.facebook.com/CentOSProject"
14
+ - name: LinkedIn
15
+ icon: "fab fa-linkedin"
16
+ link: "https://www.linkedin.com/company/centos-project/"
17
+ - name: x
18
+ icon: "fab fa-x-twitter"
19
+ link: "https://x.com/centos"
20
+ - name: Discourse
21
+ icon: "fab fa-discourse"
22
+ link: "https://discussion.fedoraproject.org/c/neighbors/centos/"
23
+ - name: Reddit
24
+ icon: "fab fa-reddit"
25
+ link: "https://www.reddit.com/r/CentOS/"
@@ -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.52
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-29 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_0ec5297aec4a6e85e9698f9df37577d5@noreply.gitlab.com
44
44
  executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []