jekyll-theme-centos 2.3.0.beta.68 → 2.3.0.beta.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/footer.html +5 -5
- data/_includes/navbar.html +9 -7
- data/_includes/scripts.html +7 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c5d1087961d3fb658c4c65b6bb4cf71b7cab1fffd5b3fddd5b4bde967edd5671
|
|
4
|
+
data.tar.gz: ad192cf2e78de8033d3547a5f720587563ed0ee24df76b8ea09123a21df2d86c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a1df32604862cbe8ba3b417745aed492ae7d6ded008bee7d43fe7b56acd7411b2458e2fe63cf567bd13c28595a04decf10130e50fc27d00a3ed2eaa5579dba90
|
|
7
|
+
data.tar.gz: f0c58da2f3566b1c4c7844a76e829c372bf7f1883bd421ac5eaf75836ee9291f93aab3dc10ceb71093124fda97988c4b22bdbe6ac9024f0a7f6936816ff82831
|
data/_includes/footer.html
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div class="container">
|
|
3
3
|
<div class="row justify-content-between mt-4 pt-4">
|
|
4
4
|
<div class="col-lg-3 mb-5">
|
|
5
|
-
<a class="navbar-brand" href="{{ site.baseurl }}/{{ site.data.centos.identity.logo.link }}"><img role="img" src="{{ site.baseurl }}/{{ site.data.centos.identity.logo.navbar }}" height="32" alt="{{ site.title }}" /><span class="manifestation">{{ site.data.centos.identity.logo.manifestation }}</span></a>
|
|
5
|
+
<a class="navbar-brand" href="{{ site.baseurl }}/{{ site.data.centos.identity.logo.link }}"><img role="img" src="{{ site.baseurl }}/{{ site.data.centos.identity.logo.navbar }}" height="32" alt="{{ site.data.centos.identity.title }}" /><span class="manifestation">{{ site.data.centos.identity.logo.manifestation }}</span></a>
|
|
6
6
|
<p class="my-3">{{ site.data.centos.identity.description }}</p>
|
|
7
7
|
<ul class="nav list-unstyled d-flex">
|
|
8
8
|
{% for item in site.data.centos.footer.social %}
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
</ul>
|
|
14
14
|
</div>
|
|
15
15
|
|
|
16
|
-
{%
|
|
16
|
+
{% assign sections = site.data.centos.navbar | where: "visible_on", "footer" %}
|
|
17
|
+
{% for section in sections %}
|
|
17
18
|
<div class="col-sm-12 col-lg-3 mb-3">
|
|
18
19
|
<h6 class="text-uppercase fw-bold">{{ section.name }}</h6>
|
|
19
20
|
<ul class="nav flex-column">
|
|
@@ -22,13 +23,12 @@
|
|
|
22
23
|
{% endfor %}
|
|
23
24
|
</ul>
|
|
24
25
|
</div>
|
|
25
|
-
{% endfor %}
|
|
26
|
+
{% endfor %}
|
|
26
27
|
</div>
|
|
27
28
|
|
|
28
29
|
<div class="row py-3">
|
|
29
30
|
<div class="col">
|
|
30
|
-
Copyright ©
|
|
31
|
-
>{% endfor %}
|
|
31
|
+
<span id="copyright_mark">Copyright ©</span> <span id="copyright_year"></span> <span id="copyright_author">{{ site.data.centos.footer.copyright.author }}</span> {% for item in site.data.centos.footer.copyright.legals %} | <span id="copyright_legals_{{ forloop.index }}" class="nav-item"><a href="{{ item.link }}" class="link-light">{{ item.text }}</a></span>{% endfor %}
|
|
32
32
|
</div>
|
|
33
33
|
</div>
|
|
34
34
|
</div>
|
data/_includes/navbar.html
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
<header class="site-header sticky-top">
|
|
2
2
|
<nav class="navbar navbar-expand-lg navbar-dark bg-dark p-3 shadow">
|
|
3
3
|
<div class="container">
|
|
4
|
-
<a class="navbar-brand" href="{{ site.baseurl }}/{{ site.data.centos.identity.logo.link }}"><img role="img" src="{{ site.baseurl }}/{{ site.data.centos.identity.logo.navbar }}" height="32" alt="{{ site.title }}"><span class="manifestation">{{ site.data.centos.identity.logo.manifestation }}</span></a>
|
|
4
|
+
<a class="navbar-brand" href="{{ site.baseurl }}/{{ site.data.centos.identity.logo.link }}"><img role="img" src="{{ site.baseurl }}/{{ site.data.centos.identity.logo.navbar }}" height="32" alt="{{ site.data.centos.identity.title }}"><span class="manifestation">{{ site.data.centos.identity.logo.manifestation }}</span></a>
|
|
5
5
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
|
6
6
|
<span class="navbar-toggler-icon"></span>
|
|
7
7
|
</button>
|
|
8
8
|
<div class="collapse navbar-collapse flex-grow-0" id="navbarSupportedContent">
|
|
9
9
|
<ul class="navbar-nav">
|
|
10
|
-
{
|
|
11
|
-
{
|
|
12
|
-
|
|
10
|
+
{% assign navitems = site.data.centos.navbar | where: "visible_on", "navbar" %}
|
|
11
|
+
{%- for navitem in navitems -%}
|
|
12
|
+
{% if navitem.menu.size == 0 %}
|
|
13
|
+
<li class="nav-item"><a class="nav-link" role="presentation" href="{{ navitem.link }}"><i class="{{ navitem.icon }}"></i> {{ navitem.name }}</a></li>
|
|
13
14
|
{% else -%}
|
|
14
15
|
<li class="nav-item dropdown">
|
|
15
|
-
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown-{{ forloop.index }}" role="button" data-bs-toggle="dropdown" aria-expanded="false"><i class="{{
|
|
16
|
+
<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>
|
|
16
17
|
<ul class="dropdown-menu dropdown-menu-dark shadow" aria-labelledby="navbarDropdown-{{ forloop.index }}">
|
|
17
|
-
{%- for
|
|
18
|
-
<li><a class="dropdown-item" role="presentation" href="{{
|
|
18
|
+
{%- for dropdownitem in navitem.menu -%}
|
|
19
|
+
<li><a class="dropdown-item" role="presentation" href="{{ dropdownitem.link }}">{{ dropdownitem.name }}</a> </li>
|
|
19
20
|
{% endfor -%}
|
|
20
21
|
</ul>
|
|
21
22
|
</li>
|
|
@@ -26,3 +27,4 @@
|
|
|
26
27
|
</div>
|
|
27
28
|
</nav>
|
|
28
29
|
</header>
|
|
30
|
+
|
data/_includes/scripts.html
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<!-- JQuery -->
|
|
2
2
|
<script src="{{ site.baseurl }}/assets/js/jquery.min.js"></script>
|
|
3
3
|
|
|
4
|
-
<!-- DataTables -->
|
|
5
4
|
{% if page.with_datatable == true %}
|
|
5
|
+
<!-- DataTables -->
|
|
6
6
|
<script src="{{ site.baseurl }}/assets/js/jquery.dataTables.min.js"></script>
|
|
7
7
|
<script src="{{ site.baseurl }}/assets/js/dataTables.bootstrap5.min.js"></script>
|
|
8
8
|
<script>
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
});
|
|
23
23
|
</script>
|
|
24
24
|
|
|
25
|
-
<!-- Clipboard.JS -->
|
|
26
25
|
{% if page.with_clipboard == true %}
|
|
26
|
+
<!-- Clipboard.JS -->
|
|
27
27
|
<script src="{{ site.baseurl }}/assets/js/clipboard.min.js"></script>
|
|
28
28
|
<script>
|
|
29
29
|
// Initialize ClipboardJS
|
|
@@ -56,6 +56,11 @@
|
|
|
56
56
|
</script>
|
|
57
57
|
{% endif %}
|
|
58
58
|
|
|
59
|
+
<!-- Copyright Year -->
|
|
60
|
+
<script>
|
|
61
|
+
document.getElementById("copyright_year").innerHTML = (new Date().getFullYear());
|
|
62
|
+
</script>
|
|
63
|
+
|
|
59
64
|
<!-- Bootstrap -->
|
|
60
65
|
<script src="{{ site.baseurl }}/assets/js/bootstrap.bundle.min.js"></script>
|
|
61
66
|
<script>
|
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.3.0.beta.
|
|
4
|
+
version: 2.3.0.beta.70
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Release
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-04-
|
|
11
|
+
date: 2023-04-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|