jekyll-theme-centos 2.17.0 → 2.18.0

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: 7ffe276b580d21507ce3d015889f678b23396f23aead23a15b20b51a65f335e6
4
- data.tar.gz: 23c665bfda01c362d552293dbd5ae298587b7e0f7b02729ce3eaac3b38b68aa7
3
+ metadata.gz: 965b3ead7f853d45ca056e564ff8cb8309c6c3d8c31fe48caea93d0847c565a0
4
+ data.tar.gz: 20f8cf91c95f4f02d3a3bbf721b5aef8bf761dc8175c18122ca1b469863a8b9c
5
5
  SHA512:
6
- metadata.gz: 4b568679f8e550485f0e71ead8a26773ca989a726c4d836bb64fa2d2b3bdada80baabe941cd0c750d6ae70d50c19be47a31376118b8acdc2e77f06be913a59a4
7
- data.tar.gz: a5f9c04f48b3a1ae2945edab03125d2f20287a2e8ed96b6f1ac6be1dd6ee41b8e6505dccd494679f70d0cc3463afae194684b09321e8ba58b34b93a2e0f4277c
6
+ metadata.gz: b58a1a80d365addf2a85421f7012750d7fc2ab66deb0572020bcdf47315fd4ed5246119938c7db591c0ea038b284832e473764556d1b8e22c52d34e50e88103e
7
+ data.tar.gz: 1e08dd5c79a26f0f1e4d932d9f628a75c3ffaf9646940b90f3d091c3d93b2b4fcd8460b4bf65887526a32a2189b29357225fd6df4a3b0052244324d49f7bc0b9
@@ -3,6 +3,8 @@
3
3
  icon: "fa-solid fa-layer-group"
4
4
  link: "/layouts/"
5
5
  menu:
6
+ - name: "sponsors/default"
7
+ link: "/layouts/sponsors-default/"
6
8
  - name: "sponsors/cards"
7
9
  link: "/layouts/sponsors-cards/"
8
10
  visible_on: ["navbar", "footer"]
@@ -9,7 +9,7 @@
9
9
  </div>
10
10
 
11
11
  <div class="col-sm-12 col-xl-5">
12
- <div id="carouselSponsorSlidesOnly" class="carousel slide carousel-fade" data-bs-ride="carousel">
12
+ <div class="carousel slide carousel-fade" data-bs-ride="carousel">
13
13
  <div class="carousel-inner">
14
14
  {% for sponsor in sponsors %}
15
15
  {% if sponsor.is_active != false %}
@@ -0,0 +1,65 @@
1
+ {% assign navbar = site.data[site.navbar_data_dirname][site.navbar_data_filename] %}
2
+ <footer class="footer small bg-dark text-light">
3
+ <div class="container">
4
+ <div class="row bg-primary justify-content-between">
5
+ {% assign sections = navbar | where: "visible_on", "footer" %}
6
+ {% assign columns = sections.size %}
7
+ {% case columns %}
8
+ {% when 1 %}
9
+ {% assign column_width = 12 %}
10
+ {% when 2 %}
11
+ {% assign column_width = 6 %}
12
+ {% when 3 %}
13
+ {% assign column_width = 4 %}
14
+ {% when 4 %}
15
+ {% assign column_width = 3 %}
16
+ {% else %}
17
+ {% assign column_width = 1 %}
18
+ {% endcase %}
19
+ {% for section in sections -%}
20
+ <div class="col-sm-12 col-lg-{{ column_width }} my-3">
21
+ <h6 class="fw-bold"><i class="{{ section.icon }}"></i> {{ section.name }}</h6>
22
+ <ul class="nav flex-column">
23
+ {% for item in section.menu -%}
24
+ <li class="nav-item"><a href="{{ site.baseurl }}{{ item.link }}" class="link-light px-0">{{ item.name }}</a></li>
25
+ {% endfor %}
26
+ </ul>
27
+ </div>
28
+ {% endfor %}
29
+ </div>
30
+
31
+ {% if page.with_sponsors == true %}
32
+ {% include sponsors/carousel.html %}
33
+ {% endif %}
34
+
35
+ <div class="row border-top border-primary border-5">
36
+ <div class="col-sm-12 col-lg-8">
37
+ <h4 class="fw-bold pt-3">{{ site.title }}</h4>
38
+ <p>{{ site.description }}</p>
39
+ </div>
40
+ <div class="col-sm-12 col-lg-4 pt-lg-3 d-flex justify-content-sm-start justify-content-lg-end">
41
+ <ul class="nav list-unstyled">
42
+ {% for item in site.data.base.footer.social -%}
43
+ <li class="nav-item">
44
+ <a class="btn btn-sm fs-5 link-primary" href="{{ item.link }}" role="button" aria-label="{{ item.name }}" data-bs-placement="bottom" data-bs-title="{{ item.name }}"><i class="{{ item.icon }}"></i></a>
45
+ </li>
46
+ {% endfor %}
47
+ </ul>
48
+ </div>
49
+ </div>
50
+
51
+ <div class="row py-3">
52
+ <div class="col">
53
+ <span>Copyright &copy;</span>
54
+ <span id="copyright_year"></span>
55
+ <span>{{ site.data.base.footer.copyright.author }}</span>
56
+ {% for item in site.data.base.footer.copyright.legals -%}
57
+ <span class="border-start ms-2 ps-2">
58
+ <a class="link-light" href="{{ item.link }}">{{ item.text }}</a>
59
+ </span>
60
+ {% endfor %}
61
+ </div>
62
+ </div>
63
+
64
+ </div>
65
+ </footer>
@@ -1,5 +1,5 @@
1
1
  ---
2
- layout: base/default
2
+ layout: sponsors/default
3
3
  ---
4
4
 
5
5
  {{ content }}
@@ -0,0 +1,35 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: 'en' }}">
3
+ {% include base/head.html title=page.title -%}
4
+
5
+ <body id="top">
6
+ {% include base/navbar.html -%}
7
+ {% include base/header.html -%}
8
+
9
+ <main>
10
+ <div class="container my-5">
11
+ {% if page.with_breadcrumbs %}
12
+ <div class="row justify-content-center my-4">
13
+ <div class="col-sm-12 col-xl-8">
14
+ {% include base/breadcrumbs.html %}
15
+ </div>
16
+ </div>
17
+ {% endif %}
18
+ {% if page.with_toc %}
19
+ <div class="row justify-content-center my-4">
20
+ <div class="col-sm-12 col-xl-8">{% include base/toc-accordion.html %}</div>
21
+ </div>
22
+ {% endif %}
23
+ <div class="row justify-content-center my-4">
24
+ {% if page.with_image %}
25
+ <div class="col-sm-12 col-xl-8 artwork"><img src="{{ site.url }}{{ site.baseurl }}/assets/img/{{ page.with_image }}" class="img-fluid rounded" alt="{{ page.title }}"></div>
26
+ {% endif %}
27
+ <div class="col-sm-12 col-xl-8 content">{{ content }}</div>
28
+ </div>
29
+ </div>
30
+ </main>
31
+
32
+ {% include sponsors/footer.html %}
33
+ {% include base/script.html %}
34
+ </body>
35
+ </html>
Binary file
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-centos
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.17.0
4
+ version: 2.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ReleaseBot
@@ -94,6 +94,7 @@ files:
94
94
  - _includes/post-nav.html
95
95
  - _includes/sponsors/cards.html
96
96
  - _includes/sponsors/carousel.html
97
+ - _includes/sponsors/footer.html
97
98
  - _layouts/base/default.html
98
99
  - _layouts/blog.html
99
100
  - _layouts/download/default.html
@@ -103,6 +104,7 @@ files:
103
104
  - _layouts/search.html
104
105
  - _layouts/sponsors.html
105
106
  - _layouts/sponsors/cards.html
107
+ - _layouts/sponsors/default.html
106
108
  - _sass/base/_customization.scss
107
109
  - _sass/base/_variables.scss
108
110
  - _sass/bootstrap/_accordion.scss