jekyll-theme-centos 2.21.0 → 2.22.0
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/base/head.html +11 -7
- data/_includes/base/script.html +20 -42
- data/_layouts/base/default.html +20 -21
- data/_sass/base/_customization.scss +13 -0
- data/assets/icons/android-chrome-192.png +0 -0
- data/assets/icons/android-chrome-512.png +0 -0
- data/assets/icons/apple-touch-icon.png +0 -0
- data/assets/icons/favicon-16.png +0 -0
- data/assets/icons/favicon-32.png +0 -0
- 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: a3d39e4cf59e8b76a1cccddb890125e54b3c156c15ed4d80355a8ba50aca15d3
|
|
4
|
+
data.tar.gz: 365143601a86a25728b49dea88a113d03a566aa6ba4b44520ce73aa544347d63
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 71e4805f4625909233044f8bc4a39b3c36e06d28bf55d8c7f3487e5be7764c99cd00540af071c52a5735d797d53ef42d7c3b2c5fa7d5b36a45e523c4727224d2
|
|
7
|
+
data.tar.gz: 0a3e4e991bbfbb5402b49d72e43abbe9f449f6c5f0b6e48c790208fd4e892f2bcb3f05e0e4b8716a3d78e4f99d7f34843f878bfb3c473eb3f9b3cbe6f122587a
|
data/_includes/base/head.html
CHANGED
|
@@ -2,16 +2,20 @@
|
|
|
2
2
|
<meta charset="utf-8" />
|
|
3
3
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no" />
|
|
4
4
|
<title>{{ page.title }}</title>
|
|
5
|
-
<link rel="icon" href="{{ site.baseurl }}/assets/icons/favicon-16.png" sizes="16x16" />
|
|
6
|
-
<link rel="icon" href="{{ site.baseurl }}/assets/icons/favicon-32.png" sizes="32x32" />
|
|
7
|
-
<link rel="icon" href="{{ site.baseurl }}/assets/icons/favicon.svg" sizes="any" />
|
|
8
|
-
<link rel="apple-touch-icon" href="{{ site.baseurl }}/assets/icons/apple-touch-icon.png" sizes="180x180" />
|
|
9
|
-
<link rel="manifest" href="{{ site.baseurl }}/site.webmanifest" />
|
|
5
|
+
<link rel="icon" href="{{ site.url }}{{ site.baseurl }}/assets/icons/favicon-16.png" sizes="16x16" />
|
|
6
|
+
<link rel="icon" href="{{ site.url }}{{ site.baseurl }}/assets/icons/favicon-32.png" sizes="32x32" />
|
|
7
|
+
<link rel="icon" href="{{ site.url }}{{ site.baseurl }}/assets/icons/favicon.svg" sizes="any" />
|
|
8
|
+
<link rel="apple-touch-icon" href="{{ site.url }}{{ site.baseurl }}/assets/icons/apple-touch-icon.png" sizes="180x180" />
|
|
9
|
+
<link rel="manifest" href="{{ site.url }}{{ site.baseurl }}/site.webmanifest" />
|
|
10
10
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:100,200,300,400,500,600,700,800,900" />
|
|
11
11
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Overpass+Mono:100,200,300,400,500,600,700,800,900" />
|
|
12
12
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
|
13
|
+
{% if page.with_highlight == true -%}
|
|
14
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/base16/gruvbox-dark-hard.min.css">
|
|
15
|
+
<link rel="stylesheet" href="https://unpkg.com/highlightjs-copy@1.0.3/dist/highlightjs-copy.min.css" />
|
|
16
|
+
{% endif -%}
|
|
13
17
|
{% if page.with_datatables == true -%}
|
|
14
|
-
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/dataTables.bootstrap5.min.css">
|
|
18
|
+
<link rel="stylesheet" href="{{ site.url }}{{ site.baseurl }}/assets/css/dataTables.bootstrap5.min.css">
|
|
15
19
|
{% endif -%}
|
|
16
|
-
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/base/stylesheet.min.css" />
|
|
20
|
+
<link rel="stylesheet" href="{{ site.url }}{{ site.baseurl }}/assets/css/base/stylesheet.min.css" />
|
|
17
21
|
</head>
|
data/_includes/base/script.html
CHANGED
|
@@ -1,19 +1,31 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
1
|
+
<!-- Highlight.js -->
|
|
2
|
+
{% if page.with_highlight == true -%}
|
|
3
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/highlight.min.js"></script>
|
|
4
|
+
<script src="https://unpkg.com/highlightjs-copy@1.0.3/dist/highlightjs-copy.min.js"></script>
|
|
5
|
+
<script>
|
|
6
|
+
hljs.addPlugin(
|
|
7
|
+
new CopyButtonPlugin({
|
|
8
|
+
callback: (text, el) => console.log("Copied!", text),
|
|
9
|
+
})
|
|
10
|
+
);
|
|
11
|
+
hljs.highlightAll();
|
|
12
|
+
</script>
|
|
13
|
+
{% endif -%}
|
|
3
14
|
|
|
4
|
-
{% if page.with_datatables == true
|
|
15
|
+
{% if page.with_datatables == true -%}
|
|
5
16
|
<!-- DataTables -->
|
|
6
|
-
<script src="{{ site.baseurl }}/assets/js/jquery.
|
|
7
|
-
<script src="{{ site.baseurl }}/assets/js/dataTables.
|
|
17
|
+
<script src="{{ site.url }}{{ site.baseurl }}/assets/js/jquery.min.js"></script>
|
|
18
|
+
<script src="{{ site.url }}{{ site.baseurl }}/assets/js/jquery.dataTables.min.js"></script>
|
|
19
|
+
<script src="{{ site.url }}{{ site.baseurl }}/assets/js/dataTables.bootstrap5.min.js"></script>
|
|
8
20
|
<script>
|
|
9
21
|
$(document).ready(function () {
|
|
10
22
|
$("#download-mirror").DataTable();
|
|
11
23
|
});
|
|
12
24
|
</script>
|
|
13
|
-
{% endif
|
|
25
|
+
{% endif -%}
|
|
14
26
|
|
|
15
27
|
<!-- BackToTop -->
|
|
16
|
-
<script src="{{ site.baseurl }}/assets/js/vanilla-back-to-top.min.js"></script>
|
|
28
|
+
<script src="{{ site.url }}{{ site.baseurl }}/assets/js/vanilla-back-to-top.min.js"></script>
|
|
17
29
|
<script>
|
|
18
30
|
addBackToTop({
|
|
19
31
|
diameter: 56,
|
|
@@ -22,47 +34,13 @@
|
|
|
22
34
|
});
|
|
23
35
|
</script>
|
|
24
36
|
|
|
25
|
-
{% if page.with_clipboard == true %}
|
|
26
|
-
<!-- Clipboard.JS -->
|
|
27
|
-
<script src="{{ site.baseurl }}/assets/js/clipboard.min.js"></script>
|
|
28
|
-
<script>
|
|
29
|
-
// Initialize ClipboardJS
|
|
30
|
-
$(".btn-clipboard").on("click", function () {
|
|
31
|
-
let button = $(this);
|
|
32
|
-
var copy_id = $(this).attr("id");
|
|
33
|
-
var clipboard = new ClipboardJS("#" + copy_id);
|
|
34
|
-
|
|
35
|
-
clipboard.on("success", function () {
|
|
36
|
-
const currentLabel = button.html();
|
|
37
|
-
const tooltip = bootstrap.Tooltip.getInstance("#" + copy_id);
|
|
38
|
-
const tooltipLabel = button.attr("data-bs-title");
|
|
39
|
-
|
|
40
|
-
// Exit label update when already in progress
|
|
41
|
-
if (button.html() === '<i class="fa-solid fa-clipboard-check"></i>') {
|
|
42
|
-
return;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// Update button label and tooltip
|
|
46
|
-
button.html('<i class="fa-solid fa-clipboard-check"></i>');
|
|
47
|
-
tooltip.setContent({ ".tooltip-inner": "Copied!" });
|
|
48
|
-
|
|
49
|
-
// Revert button label after 2 seconds
|
|
50
|
-
setTimeout(function () {
|
|
51
|
-
button.html(currentLabel);
|
|
52
|
-
tooltip.setContent({ ".tooltip-inner": tooltipLabel });
|
|
53
|
-
}, 2000);
|
|
54
|
-
});
|
|
55
|
-
});
|
|
56
|
-
</script>
|
|
57
|
-
{% endif %}
|
|
58
|
-
|
|
59
37
|
<!-- Copyright Year -->
|
|
60
38
|
<script>
|
|
61
39
|
document.getElementById("copyright_year").innerHTML = new Date().getFullYear();
|
|
62
40
|
</script>
|
|
63
41
|
|
|
64
42
|
<!-- Bootstrap -->
|
|
65
|
-
<script src="{{ site.baseurl }}/assets/js/bootstrap.bundle.min.js"></script>
|
|
43
|
+
<script src="{{ site.url }}{{ site.baseurl }}/assets/js/bootstrap.bundle.min.js"></script>
|
|
66
44
|
<script>
|
|
67
45
|
// Initialize Tooltips
|
|
68
46
|
const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]');
|
data/_layouts/base/default.html
CHANGED
|
@@ -1,35 +1,34 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html lang="{{ page.lang | default: 'en' }}">
|
|
3
3
|
{% include base/head.html title=page.title -%}
|
|
4
|
-
|
|
5
4
|
<body id="top">
|
|
6
5
|
{% include base/navbar.html -%}
|
|
7
6
|
{% include base/header.html -%}
|
|
8
|
-
|
|
9
7
|
<main>
|
|
10
8
|
<div class="container my-5">
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
{% if page.with_breadcrumbs %}
|
|
10
|
+
<div class="row justify-content-center my-4">
|
|
11
|
+
<div class="col-sm-12 col-xl-8">
|
|
12
|
+
{% include base/breadcrumbs.html %}
|
|
13
|
+
</div>
|
|
15
14
|
</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
15
|
{% endif %}
|
|
27
|
-
|
|
28
|
-
|
|
16
|
+
{% if page.with_toc %}
|
|
17
|
+
<div class="row justify-content-center my-4">
|
|
18
|
+
<div class="col-sm-12 col-xl-8">
|
|
19
|
+
{% include base/toc-accordion.html %}
|
|
20
|
+
</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
29
|
</div>
|
|
30
30
|
</main>
|
|
31
|
-
|
|
32
|
-
{% include base/
|
|
33
|
-
{% include base/script.html %}
|
|
31
|
+
{% include base/footer.html -%}
|
|
32
|
+
{% include base/script.html -%}
|
|
34
33
|
</body>
|
|
35
34
|
</html>
|
|
@@ -47,6 +47,19 @@ main {
|
|
|
47
47
|
scroll-margin-bottom: 100px;
|
|
48
48
|
margin-top: 3rem;
|
|
49
49
|
}
|
|
50
|
+
// --------------------------------------------------------------------------------
|
|
51
|
+
// Highlight.js
|
|
52
|
+
// --------------------------------------------------------------------------------
|
|
53
|
+
.content {
|
|
54
|
+
pre.highlight {
|
|
55
|
+
code.hljs {
|
|
56
|
+
min-height: 100px;
|
|
57
|
+
max-height: 50vh;
|
|
58
|
+
overflow: auto;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
50
63
|
// --------------------------------------------------------------------------------
|
|
51
64
|
// Tuneup first paragraph top margin when it is the first element inside
|
|
52
65
|
// content.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/assets/icons/favicon-16.png
CHANGED
|
Binary file
|
data/assets/icons/favicon-32.png
CHANGED
|
Binary file
|
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.
|
|
4
|
+
version: 2.22.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ReleaseBot
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-07-
|
|
11
|
+
date: 2023-07-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|