jekyll-theme-centos 2.7.0 → 2.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/base/footer.yml +2 -2
- data/_includes/base/footer.html +2 -2
- data/_includes/people/about.html +22 -24
- data/_includes/people/header.html +6 -10
- data/_includes/people/posts.html +28 -30
- data/_includes/people/projects.html +25 -31
- data/_includes/people/pubkeys.html +15 -13
- data/_includes/people/support.html +15 -13
- data/_layouts/base/default.html +17 -14
- data/_layouts/people/default.html +2 -2
- data/_sass/base/_centos.scss +7 -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 +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 940972d56cfb361abd0b85e2ecd46e2a7fbbd6369ef7865a29b8f3b44e876bea
|
4
|
+
data.tar.gz: ba4d7ed5c775bf55d0fe31de301adcf193f5517b5a0e17c26237b624a0599918
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d4a02cc9284b7a38624ec465acf85e818cf6f4c5543c7edf7322b61cf8ff8be3ecc49a1654466dc9632d0c66ede6da49bf578b5a407079a3ea1d23e9cb0cbf0
|
7
|
+
data.tar.gz: 7d66805d6ddfa4c70fad021e7864b6bcc6da9fc753203b21717f821fa67faa1329f82e3ba205d2b5107eed43f733fc29b0c941b91418d216d05fa29ba2926a13
|
data/_data/base/footer.yml
CHANGED
@@ -25,8 +25,8 @@ copyright:
|
|
25
25
|
author: "The CentOS Project"
|
26
26
|
legals:
|
27
27
|
- text: "Legal"
|
28
|
-
link: "/legal"
|
28
|
+
link: "https://www.centos.org/legal"
|
29
29
|
- text: "Privacy"
|
30
|
-
link: "/legal/privacy"
|
30
|
+
link: "https://www.centos.org/legal/privacy"
|
31
31
|
- text: "Site source"
|
32
32
|
link: "https://git.centos.org/centos/centos.org"
|
data/_includes/base/footer.html
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{% assign navbar = site.data[site.navbar_data_dirname][site.navbar_data_filename] %}
|
2
|
-
<footer class="footer small bg-dark text-light
|
2
|
+
<footer class="footer small bg-dark text-light">
|
3
3
|
<div class="container">
|
4
4
|
<div class="row bg-primary justify-content-between">
|
5
5
|
{% assign sections = navbar | where: "visible_on", "footer" %}
|
@@ -51,7 +51,7 @@
|
|
51
51
|
<span>{{ site.data.base.footer.copyright.author }}</span>
|
52
52
|
{% for item in site.data.base.footer.copyright.legals -%}
|
53
53
|
<span class="border-start ms-2 ps-2">
|
54
|
-
<a class="link-light" href="{{
|
54
|
+
<a class="link-light" href="{{ item.link }}">{{ item.text }}</a>
|
55
55
|
</span>
|
56
56
|
{% endfor %}
|
57
57
|
</div>
|
data/_includes/people/about.html
CHANGED
@@ -1,27 +1,25 @@
|
|
1
1
|
{% if page.about.section.visible == true %}
|
2
|
-
<
|
3
|
-
<div class="row">
|
4
|
-
<div class="col">
|
5
|
-
{% if page.about.section.icon %}
|
6
|
-
<i class="h1 {{ page.about.section.icon }}"></i>
|
7
|
-
{% endif %} {% if page.about.section.name %}
|
8
|
-
<h1>{{ page.about.section.name }}</h1>
|
9
|
-
{% endif %} {% if page.about.section.preamble %}
|
10
|
-
<p>{{ page.about.section.preamble }}</p>
|
11
|
-
{% endif %}
|
12
|
-
</div>
|
13
|
-
</div>
|
2
|
+
<section class="container my-5 text-center">
|
14
3
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
4
|
+
{% if page.about.section.icon %}
|
5
|
+
<i class="h1 {{ page.about.section.icon }}"></i>
|
6
|
+
{% endif %}
|
7
|
+
|
8
|
+
{% if page.about.section.name %}
|
9
|
+
<h1>{{ page.about.section.name }}</h1>
|
10
|
+
{% endif %}
|
11
|
+
|
12
|
+
{% if page.about.section.preamble %}
|
13
|
+
<p>{{ page.about.section.preamble }}</p>
|
14
|
+
{% endif %}
|
15
|
+
|
16
|
+
{% if page.about.content.size > 0 %}
|
17
|
+
{% for p in page.about.content %}
|
18
|
+
<p>{{ p }}</p>
|
19
|
+
{% endfor %}
|
20
|
+
{% else %}
|
21
|
+
<div class="alert alert-light border shadow" role="alert">Nothing posted here, yet.</div>
|
22
|
+
{% endif %}
|
23
|
+
|
24
|
+
</section>
|
27
25
|
{% endif %}
|
@@ -1,11 +1,7 @@
|
|
1
|
-
<
|
2
|
-
<div class="container
|
3
|
-
<
|
4
|
-
|
5
|
-
|
6
|
-
<h1 class="display-2 fw-bold">{{ page.username }}</h1>
|
7
|
-
<p class="lead">{{ page.fullname }}</p>
|
8
|
-
</div>
|
9
|
-
</div>
|
1
|
+
<header class="bg-dark bg-image">
|
2
|
+
<div class="container py-5 text-white text-center">
|
3
|
+
<img class="rounded-circle shadow img-fluid" width="250" src="{{ site.baseurl }}/assets/img/people/{{ page.avatar }}" alt="{{ page.username }}" />
|
4
|
+
<h1 class="display-2 fw-bold">{{ page.username }}</h1>
|
5
|
+
<p class="lead">{{ page.fullname }}</p>
|
10
6
|
</div>
|
11
|
-
</
|
7
|
+
</header>
|
data/_includes/people/posts.html
CHANGED
@@ -1,35 +1,33 @@
|
|
1
1
|
{% assign username = page.username %} {% assign entries = site.posts | where: "author", username %} {% assign limit = page.posts.section.limit %} {% if page.posts.section.visible == true %}
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
{% endif %}
|
12
|
-
</div>
|
13
|
-
</div>
|
2
|
+
<section class="container my-5 text-center">
|
3
|
+
|
4
|
+
{% if page.posts.section.icon %}
|
5
|
+
<i class="h1 {{ page.posts.section.icon }}"></i>
|
6
|
+
{% endif %}
|
7
|
+
|
8
|
+
{% if page.posts.section.name %}
|
9
|
+
<h1>{{ page.posts.section.name }}</h1>
|
10
|
+
{% endif %}
|
14
11
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
</a>
|
27
|
-
{% endfor %}
|
12
|
+
{% if page.posts.section.preamble %}
|
13
|
+
<p>{{ page.posts.section.preamble }}</p>
|
14
|
+
{% endif %}
|
15
|
+
|
16
|
+
{% if entries.size > 0 %}
|
17
|
+
<div class="list-group shadow text-start">
|
18
|
+
{% for i in entries limit: limit %} {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
|
19
|
+
<a href="{{ site.baseurl }}{{ i.url }}" class="list-group-item list-group-item-action">
|
20
|
+
<div class="d-flex gap-2w-100 justify-content-between">
|
21
|
+
<h5 class="pt-0 mt-1 mb-1 fw-bold text-primary">{{ i.title }}</h5>
|
22
|
+
<small class="text-muted">{{ i.date | date: date_format }}</small>
|
28
23
|
</div>
|
29
|
-
{
|
30
|
-
|
31
|
-
|
32
|
-
</div>
|
24
|
+
<p class="mb-1">{{ i.excerpt | strip_html | slice: 0,150 }}...</p>
|
25
|
+
</a>
|
26
|
+
{% endfor %}
|
33
27
|
</div>
|
34
|
-
|
28
|
+
{% else %}
|
29
|
+
<div class="alert alert-light border shadow" role="alert">Nothing posted here, yet.</div>
|
30
|
+
{% endif %}
|
31
|
+
|
32
|
+
</section>
|
35
33
|
{% endif %}
|
@@ -1,39 +1,33 @@
|
|
1
1
|
{% assign username = page.username %} {% assign projects = page.projects.content %} {% assign limit = page.posts.section.limit %} {% if page.projects.section.visible == true %}
|
2
|
-
<
|
2
|
+
<section class="container my-5 text-center">
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
</div>
|
16
|
-
</div>
|
4
|
+
{% if page.projects.section.icon %}
|
5
|
+
<i class="h1 {{ page.projects.section.icon }}"></i>
|
6
|
+
{% endif %}
|
7
|
+
|
8
|
+
{% if page.projects.section.name %}
|
9
|
+
<h1>{{ page.projects.section.name }}</h1>
|
10
|
+
{% endif %}
|
11
|
+
|
12
|
+
{% if page.projects.section.preamble %}
|
13
|
+
<p>{{ page.projects.section.preamble }}</p>
|
14
|
+
{% endif %}
|
17
15
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
<h4 class="card-title"><a href="{{ i.link }}">{{ i.name }}</a></h4>
|
27
|
-
<p class="card-text">{{ i.description }}</p>
|
28
|
-
</div>
|
29
|
-
</div>
|
30
|
-
{% endfor %}
|
16
|
+
{% if projects.size > 0 %}
|
17
|
+
<div class="card-group">
|
18
|
+
{% for i in projects limit: limit %}
|
19
|
+
<div class="card">
|
20
|
+
<a href="{{ i.link }}"><img src="{{ site.url }}/{{ site.baseurl }}/assets/img/people/{{ i.image }}" class="card-img-top" alt="{{ i.name }}"></a>
|
21
|
+
<div class="card-body">
|
22
|
+
<h4 class="card-title"><a href="{{ i.link }}">{{ i.name }}</a></h4>
|
23
|
+
<p class="card-text">{{ i.description }}</p>
|
31
24
|
</div>
|
32
|
-
{% else %}
|
33
|
-
<div class="alert alert-light border shadow" role="alert">Nothing posted here, yet.</div>
|
34
|
-
{% endif %}
|
35
25
|
</div>
|
26
|
+
{% endfor %}
|
36
27
|
</div>
|
28
|
+
{% else %}
|
29
|
+
<div class="alert alert-light border shadow" role="alert">Nothing posted here, yet.</div>
|
30
|
+
{% endif %}
|
37
31
|
|
38
|
-
</
|
32
|
+
</section>
|
39
33
|
{% endif %}
|
@@ -1,16 +1,17 @@
|
|
1
1
|
{% if page.pubkeys.section.visible == true %}
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
</
|
2
|
+
<section class="container my-5 text-center">
|
3
|
+
|
4
|
+
{% if page.pubkeys.section.icon %}
|
5
|
+
<i class="h1 {{ page.pubkeys.section.icon }}"></i>
|
6
|
+
{% endif %}
|
7
|
+
|
8
|
+
{% if page.pubkeys.section.name %}
|
9
|
+
<h1>{{ page.pubkeys.section.name }}</h1>
|
10
|
+
{% endif %}
|
11
|
+
|
12
|
+
{% if page.pubkeys.section.preamble %}
|
13
|
+
<p>{{ page.pubkeys.section.preamble }}</p>
|
14
|
+
{% endif %}
|
14
15
|
|
15
16
|
{% if page.pubkeys.content.size > 0 %}
|
16
17
|
<div class="row">
|
@@ -27,5 +28,6 @@
|
|
27
28
|
{% else %}
|
28
29
|
<div class="alert alert-light border shadow" role="alert">Nothing posted here, yet.</div>
|
29
30
|
{% endif %}
|
30
|
-
|
31
|
+
|
32
|
+
</section>
|
31
33
|
{% endif %}
|
@@ -1,16 +1,17 @@
|
|
1
1
|
{% if page.support.section.visible == true %}
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
</
|
2
|
+
<section class="container my-5 text-center">
|
3
|
+
|
4
|
+
{% if page.support.section.icon %}
|
5
|
+
<i class="h1 {{ page.support.section.icon }}"></i>
|
6
|
+
{% endif %}
|
7
|
+
|
8
|
+
{% if page.support.section.name %}
|
9
|
+
<h1>{{ page.support.section.name }}</h1>
|
10
|
+
{% endif %}
|
11
|
+
|
12
|
+
{% if page.support.section.preamble %}
|
13
|
+
<p>{{ page.support.section.preamble }}</p>
|
14
|
+
{% endif %}
|
14
15
|
|
15
16
|
{% if page.support.content.size > 0 %}
|
16
17
|
<div class="row">
|
@@ -21,5 +22,6 @@
|
|
21
22
|
{% else %}
|
22
23
|
<div class="alert alert-light border shadow" role="alert">Nothing posted here, yet.</div>
|
23
24
|
{% endif %}
|
24
|
-
|
25
|
+
|
26
|
+
</section>
|
25
27
|
{% endif %}
|
data/_layouts/base/default.html
CHANGED
@@ -7,22 +7,25 @@
|
|
7
7
|
{% include base/header.html -%}
|
8
8
|
|
9
9
|
<main>
|
10
|
-
<div class="container
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
</div>
|
16
|
-
</div>
|
17
|
-
{% endif %}
|
18
|
-
{% if page.with_toc %}
|
19
|
-
<div class="row my-3 justify-content-center">
|
20
|
-
<div class="col-sm-12 col-xl-8">{% include base/toc-accordion.html %}</div>
|
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 %}
|
21
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>
|
22
26
|
{% endif %}
|
23
|
-
<div class="
|
24
|
-
|
25
|
-
</div>
|
27
|
+
<div class="col-sm-12 col-xl-8 content">{{ content }}</div>
|
28
|
+
</div>
|
26
29
|
</div>
|
27
30
|
</main>
|
28
31
|
|
data/_sass/base/_centos.scss
CHANGED
@@ -47,6 +47,13 @@ main {
|
|
47
47
|
scroll-margin-bottom: 100px;
|
48
48
|
margin-top: 3rem;
|
49
49
|
}
|
50
|
+
// --------------------------------------------------------------------------------
|
51
|
+
// Tuneup first paragraph top margin when it is the first element inside
|
52
|
+
// content.
|
53
|
+
// --------------------------------------------------------------------------------
|
54
|
+
.content > p:first-child {
|
55
|
+
margin-top: 3rem;
|
56
|
+
}
|
50
57
|
|
51
58
|
// --------------------------------------------------------------------------------
|
52
59
|
// DataTable
|
Binary file
|
Binary file
|
Binary file
|
data/assets/icons/favicon-16.png
CHANGED
Binary file
|
data/assets/icons/favicon-32.png
CHANGED
Binary file
|