jekyll-theme-centos 2.3.0.beta.88 → 2.3.0.beta.89
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/announcement.html +4 -4
- data/_includes/head.html +3 -0
- data/_includes/header.html +17 -7
- data/_includes/toc-accordion.html +2 -2
- data/_sass/centos/_adjustments.scss +4 -1
- metadata +2 -13
- data/_includes/blog/header.html +0 -22
- data/_includes/default/alert-danger.html +0 -4
- data/_includes/default/alert-info.html +0 -4
- data/_includes/default/alert-success.html +0 -4
- data/_includes/default/alert-warning.html +0 -4
- data/_includes/default/figure.html +0 -3
- data/_includes/default/header.html +0 -17
- data/_includes/default/video.html +0 -3
- data/_includes/head-datatables.html +0 -8
- data/_includes/post/header.html +0 -23
- data/_includes/search.html +0 -81
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2182ef204afa4704015c94451620f50ce6a8a4ad5bfc3e58adfa3d315d4c25a
|
4
|
+
data.tar.gz: 80b374e32efcaa257ae5f8c890a00f70dc7b91eda46ecdf1a53aff6742840de3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2eeb8d3469b8b87ef4f511936ffeae3eef99ede3333ea16e5645dc8d4ad9ecbe1cea5b3be62a76729858ecf40ac9305d4b50f22c3b19d83ce8f606d02e331982
|
7
|
+
data.tar.gz: c8b5475ecea55f0001659d85a2f66ce24108b2bbadac6fb1ee20db87796d9fae8d3477a58d3e5b6543828eb658b2917352684b441056df9979eae019b901563c
|
data/_includes/announcement.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
{% for alert in page.with_announcements
|
2
|
-
<div class="alert alert-primary alert-dismissible fade show shadow" role="alert">
|
3
|
-
<strong>{{ alert.title }}</strong> {{ alert.content }}
|
1
|
+
{% for alert in page.with_announcements -%}
|
2
|
+
<div class="alert alert-{{ alert.color | default: 'primary' }} alert-dismissible fade show shadow" role="alert">
|
3
|
+
<strong>{{ alert.title | default: "" }}</strong> {{ alert.content | default: "" }}
|
4
4
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
5
5
|
</div>
|
6
|
-
{% endfor
|
6
|
+
{% endfor -%}
|
data/_includes/head.html
CHANGED
@@ -10,5 +10,8 @@
|
|
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_datatable == true -%}
|
14
|
+
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/dataTables.bootstrap5.min.css">
|
15
|
+
{% endif -%}
|
13
16
|
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/stylesheet.min.css" />
|
14
17
|
</head>
|
data/_includes/header.html
CHANGED
@@ -1,7 +1,17 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
{%
|
4
|
-
|
5
|
-
|
6
|
-
{% include
|
7
|
-
|
1
|
+
<div class="bg-image bg-dark text-light">
|
2
|
+
<div class="container py-5">
|
3
|
+
{% if page.with_announcements and page.with_announcements.size > 0 -%}
|
4
|
+
<div class="row">
|
5
|
+
<div class="col">
|
6
|
+
{% include announcement.html %}
|
7
|
+
</div>
|
8
|
+
</div>
|
9
|
+
{% endif -%}
|
10
|
+
<div class="row my-3">
|
11
|
+
<div class="col">
|
12
|
+
<div class="display-4 fw-bold">{{ page.title }}</div>
|
13
|
+
<div class="lead">{{ page.title_lead }}</div>
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
</div>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<div class="accordion my-3" id="pageTocAccordion">
|
2
|
-
<div class="accordion-item">
|
2
|
+
<div class="accordion-item shadow-sm">
|
3
3
|
<div class="accordion-header" id="flush-headingOne">
|
4
|
-
<button class="accordion-button collapsed
|
4
|
+
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapseOne" aria-expanded="false" aria-controls="flush-collapseOne">Table of contents</button>
|
5
5
|
</div>
|
6
6
|
<div id="flush-collapseOne" class="accordion-collapse collapse" aria-labelledby="flush-headingOne" data-bs-parent="#pageTocAccordion">
|
7
7
|
<div class="accordion-body">{% include toc.html html=content %}</div>
|
@@ -30,7 +30,10 @@ main {
|
|
30
30
|
// Backgrounds
|
31
31
|
// --------------------------------------------------------------------------------
|
32
32
|
.bg-image {
|
33
|
-
background: url(../img/centos-motif.png)
|
33
|
+
background-image: url("../img/centos-motif.png");
|
34
|
+
background-size: cover;
|
35
|
+
background-repeat: no-repeat;
|
36
|
+
background-position: center;
|
34
37
|
}
|
35
38
|
|
36
39
|
.bg-light-radial-gradient {
|
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.89
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Release
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -52,15 +52,7 @@ files:
|
|
52
52
|
- _data/full-altarchlist.csv
|
53
53
|
- _data/full-mirrorlist.csv
|
54
54
|
- _includes/announcement.html
|
55
|
-
- _includes/blog/header.html
|
56
55
|
- _includes/breadcrumbs.html
|
57
|
-
- _includes/default/alert-danger.html
|
58
|
-
- _includes/default/alert-info.html
|
59
|
-
- _includes/default/alert-success.html
|
60
|
-
- _includes/default/alert-warning.html
|
61
|
-
- _includes/default/figure.html
|
62
|
-
- _includes/default/header.html
|
63
|
-
- _includes/default/video.html
|
64
56
|
- _includes/download/cards-body-convert.html
|
65
57
|
- _includes/download/cards-body-doc.html
|
66
58
|
- _includes/download/cards-body-eol.html
|
@@ -75,7 +67,6 @@ files:
|
|
75
67
|
- _includes/download/cards.html
|
76
68
|
- _includes/editbar.html
|
77
69
|
- _includes/footer.html
|
78
|
-
- _includes/head-datatables.html
|
79
70
|
- _includes/head.html
|
80
71
|
- _includes/header.html
|
81
72
|
- _includes/home/distributions.html
|
@@ -93,9 +84,7 @@ files:
|
|
93
84
|
- _includes/people/support.html
|
94
85
|
- _includes/post-nav-explorer.html
|
95
86
|
- _includes/post-nav.html
|
96
|
-
- _includes/post/header.html
|
97
87
|
- _includes/script.html
|
98
|
-
- _includes/search.html
|
99
88
|
- _includes/toc-accordion.html
|
100
89
|
- _includes/toc.html
|
101
90
|
- _layouts/blog.html
|
data/_includes/blog/header.html
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
<header class="header header__blog">
|
2
|
-
|
3
|
-
{% if paginator.previous_page_path %}
|
4
|
-
<a href="{{ paginator.previous_page_path }}"><div class="header__blog__older"><i class="fas fa-arrow-left"></i></div></a>
|
5
|
-
{% else %}
|
6
|
-
<div class="header__blog__older header__blog__older--disabled"><i class="fas fa-arrow-left"></i></div>
|
7
|
-
{% endif %}
|
8
|
-
|
9
|
-
<section class="header__blog__present">
|
10
|
-
<h1 class="header__blog__title">{{ page.title }}</h1>
|
11
|
-
<p class="header__blog__description">{{ page.title_lead }}</p>
|
12
|
-
</section>
|
13
|
-
|
14
|
-
{% if paginator.next_page_path %}
|
15
|
-
<a href="{{ paginator.next_page_path }}"><div class="header__blog__newer"><i class="fas fa-arrow-right"></i></div></a>
|
16
|
-
{% else %}
|
17
|
-
<div class="header__blog__newer header__blog__newer--disabled"><i class="fas fa-arrow-right"></i></div>
|
18
|
-
{% endif %}
|
19
|
-
|
20
|
-
</header>
|
21
|
-
|
22
|
-
{% include hr.html %}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<div class="bg-image bg-dark text-light">
|
2
|
-
<div class="container py-5">
|
3
|
-
{% if page.with_announcements.size > 0 %}
|
4
|
-
<div class="row">
|
5
|
-
<div class="col">
|
6
|
-
{% include announcement.html %}
|
7
|
-
</div>
|
8
|
-
</div>
|
9
|
-
{% endif %}
|
10
|
-
<div class="row my-3">
|
11
|
-
<div class="col">
|
12
|
-
<div class="display-4 fw-bold">{{ page.title }}</div>
|
13
|
-
<div class="lead">{{ page.title_lead }}</div>
|
14
|
-
</div>
|
15
|
-
</div>
|
16
|
-
</div>
|
17
|
-
</div>
|
@@ -1,8 +0,0 @@
|
|
1
|
-
<head>
|
2
|
-
<meta charset="utf-8">
|
3
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
|
4
|
-
<title>{{ page.title }}</title>
|
5
|
-
<link rel="icon" type="image/png" sizes="16x16" href="{{ site.baseurl }}/assets/img/favicon.png">
|
6
|
-
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/stylesheet.css">
|
7
|
-
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/dataTables.bootstrap5.min.css">
|
8
|
-
</head>
|
data/_includes/post/header.html
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
<header class="header header__post">
|
2
|
-
|
3
|
-
{% if page.previous.url %}
|
4
|
-
<a href="{{ page.previous.url }}"><div class="header__post__older"><i class="fas fa-arrow-left"></i></div></a>
|
5
|
-
{% else %}
|
6
|
-
<div class="header__post__older header__post__older--disabled"><i class="fas fa-arrow-left"></i></div>
|
7
|
-
{% endif %}
|
8
|
-
|
9
|
-
<section class="header__post__present">
|
10
|
-
<h1 class="header__post__title">{{ page.title }}</h1>
|
11
|
-
{%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
|
12
|
-
<p class="header__post__description">{{ page.date | date: date_format }}</p>
|
13
|
-
</section>
|
14
|
-
|
15
|
-
{% if page.next.url %}
|
16
|
-
<a href="{{ page.next.url }}"><div class="header__post__newer"><i class="fas fa-arrow-right"></i></div></a>
|
17
|
-
{% else %}
|
18
|
-
<div class="header__post__newer header__post__newer--disabled"><i class="fas fa-arrow-right"></i></div>
|
19
|
-
{% endif %}
|
20
|
-
|
21
|
-
</header>
|
22
|
-
|
23
|
-
{% include hr.html %}
|
data/_includes/search.html
DELETED
@@ -1,81 +0,0 @@
|
|
1
|
-
<div id="search-searchbar"></div>
|
2
|
-
<div id="search-hits"></div>
|
3
|
-
<div id="search-pagination"></div>
|
4
|
-
|
5
|
-
<script src="{{ site.baseurl }}/assets/js/instantsearch.min.js"></script>
|
6
|
-
<script src="{{ site.baseurl }}/assets/js/moment.min.js"></script>
|
7
|
-
<script>
|
8
|
-
const search = instantsearch({
|
9
|
-
appId: '{{ site.algolia.application_id }}',
|
10
|
-
apiKey: '{{ site.algolia.search_only_api_key }}',
|
11
|
-
indexName: '{{ site.algolia.index_name }}'
|
12
|
-
});
|
13
|
-
|
14
|
-
const hitTemplate = function(hit) {
|
15
|
-
let date = '';
|
16
|
-
if (hit.date) {
|
17
|
-
date = moment.unix(hit.date).format('MMM D, YYYY');
|
18
|
-
}
|
19
|
-
|
20
|
-
let url = `{{ site.baseurl }}${hit.url}`;
|
21
|
-
let url_detail = `{{ site.baseurl }}${hit.url}#${hit.anchor}`;
|
22
|
-
|
23
|
-
const title = hit._highlightResult.title.value;
|
24
|
-
|
25
|
-
let breadcrumbs = '';
|
26
|
-
if (hit._highlightResult.headings) {
|
27
|
-
breadcrumbs = hit._highlightResult.headings.map(match => {
|
28
|
-
return `<span class="post-breadcrumb">${match.value}</span>`
|
29
|
-
}).join(' > ')
|
30
|
-
}
|
31
|
-
|
32
|
-
let content = "";
|
33
|
-
|
34
|
-
if (hit.html) {
|
35
|
-
content = hit.html;
|
36
|
-
}
|
37
|
-
|
38
|
-
if (hit._highlightResult.html) {
|
39
|
-
content = hit._highlightResult.html.value;
|
40
|
-
}
|
41
|
-
|
42
|
-
return `
|
43
|
-
<ul>
|
44
|
-
<li><a class="post-link" href="${url}">${title}</a> {{#breadcrumbs}}<a href="${url_detail}" class="post-breadcrumbs">${breadcrumbs}</a>{{/breadcrumbs}} ${content}</li>
|
45
|
-
</ul>
|
46
|
-
`;
|
47
|
-
}
|
48
|
-
|
49
|
-
search.addWidget(
|
50
|
-
instantsearch.widgets.searchBox({
|
51
|
-
container: '#search-searchbar',
|
52
|
-
autofocus: true,
|
53
|
-
placeholder: 'Search...',
|
54
|
-
poweredBy: true // This is required if you're on the free Community plan
|
55
|
-
})
|
56
|
-
);
|
57
|
-
|
58
|
-
search.addWidget(
|
59
|
-
instantsearch.widgets.hits({
|
60
|
-
container: '#search-hits',
|
61
|
-
templates: {
|
62
|
-
item: hitTemplate
|
63
|
-
}
|
64
|
-
})
|
65
|
-
);
|
66
|
-
|
67
|
-
search.addWidget(
|
68
|
-
instantsearch.widgets.configure({
|
69
|
-
hitsPerPage: 5,
|
70
|
-
enablePersonalization: true,
|
71
|
-
})
|
72
|
-
);
|
73
|
-
|
74
|
-
search.addWidget(
|
75
|
-
instantsearch.widgets.pagination({
|
76
|
-
container: '#search-pagination',
|
77
|
-
})
|
78
|
-
);
|
79
|
-
|
80
|
-
search.start();
|
81
|
-
</script>
|