jekyll-theme-centos 2.8.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/_layouts/base/default.html +17 -14
- 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/_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
|