jekyll-theme-centos 2.7.0 → 2.9.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bafd99d2af51c451b000cc2285680b7d53093e2be46988b8286f211694001810
4
- data.tar.gz: a333ac79a1027b3d3268707e2e37cba027eebd91c8e4a3e3baa0f6e4ba8b1ab5
3
+ metadata.gz: 940972d56cfb361abd0b85e2ecd46e2a7fbbd6369ef7865a29b8f3b44e876bea
4
+ data.tar.gz: ba4d7ed5c775bf55d0fe31de301adcf193f5517b5a0e17c26237b624a0599918
5
5
  SHA512:
6
- metadata.gz: a56dccc54a01f825bd950dc10136f30c0d7c80a3b83d5e0ea46bb148e97f38d677ecec15443f40519296f1ea7376e31ea42f3f4f822bbf491ffd781ee007ee47
7
- data.tar.gz: 8a931e6c8b7b637cb00f1823f0f3d9755425548632a1bbea3dad96ba365da867516d7c55136e550bff638317a4ce25d27ac3dc1b9421f0b3ab262786a9204675
6
+ metadata.gz: 3d4a02cc9284b7a38624ec465acf85e818cf6f4c5543c7edf7322b61cf8ff8be3ecc49a1654466dc9632d0c66ede6da49bf578b5a407079a3ea1d23e9cb0cbf0
7
+ data.tar.gz: 7d66805d6ddfa4c70fad021e7864b6bcc6da9fc753203b21717f821fa67faa1329f82e3ba205d2b5107eed43f733fc29b0c941b91418d216d05fa29ba2926a13
@@ -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"
@@ -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 mt-3">
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="{{ site.baseurl }}{{ item.link }}">{{ item.text }}</a>
54
+ <a class="link-light" href="{{ item.link }}">{{ item.text }}</a>
55
55
  </span>
56
56
  {% endfor %}
57
57
  </div>
@@ -1,27 +1,25 @@
1
1
  {% if page.about.section.visible == true %}
2
- <div class="container pt-5 text-center">
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
- <div class="row mt-3">
16
- <div class="col">
17
- {% if page.about.content.size > 0 %}
18
- {% for p in page.about.content %}
19
- <p>{{ p }}</p>
20
- {% endfor %}
21
- {% else %}
22
- <div class="alert alert-light border shadow" role="alert">Nothing posted here, yet.</div>
23
- {% endif %}
24
- </div>
25
- </div>
26
- </div>
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
- <div class="bg-dark bg-image">
2
- <div class="container p-5 text-white text-center">
3
- <div class="row">
4
- <div class="col">
5
- <img class="rounded-circle shadow img-fluid" width="250" src="{{ site.baseurl }}/assets/img/people/{{ page.avatar }}" alt="{{ page.username }}" />
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
- </div>
7
+ </header>
@@ -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
- <div class="container pt-5 text-center">
3
- <div class="row">
4
- <div class="col">
5
- {% if page.posts.section.icon %}
6
- <i class="h1 {{ page.posts.section.icon }}"></i>
7
- {% endif %} {% if page.posts.section.name %}
8
- <h1>{{ page.posts.section.name }}</h1>
9
- {% endif %} {% if page.posts.section.preamble %}
10
- <p>{{ page.posts.section.preamble }}</p>
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
- <div class="row">
16
- <div class="col">
17
- {% if entries.size > 0 %}
18
- <div class="list-group shadow text-start">
19
- {% for i in entries limit: limit %} {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
20
- <a href="{{ site.baseurl }}{{ i.url }}" class="list-group-item list-group-item-action">
21
- <div class="d-flex gap-2w-100 justify-content-between">
22
- <h5 class="pt-0 mt-1 mb-1 fw-bold text-primary">{{ i.title }}</h5>
23
- <small class="text-muted">{{ i.date | date: date_format }}</small>
24
- </div>
25
- <p class="mb-1">{{ i.excerpt | strip_html | slice: 0,150 }}...</p>
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
- {% else %}
30
- <div class="alert alert-light border shadow" role="alert">Nothing posted here, yet.</div>
31
- {% endif %}
32
- </div>
24
+ <p class="mb-1">{{ i.excerpt | strip_html | slice: 0,150 }}...</p>
25
+ </a>
26
+ {% endfor %}
33
27
  </div>
34
- </div>
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
- <div class="container pt-5 text-center">
2
+ <section class="container my-5 text-center">
3
3
 
4
- <div class="row">
5
- <div class="col">
6
- {% if page.projects.section.icon %}
7
- <i class="h1 {{ page.projects.section.icon }}"></i>
8
- {% endif %}
9
- {% if page.projects.section.name %}
10
- <h1>{{ page.projects.section.name }}</h1>
11
- {% endif %}
12
- {% if page.projects.section.preamble %}
13
- <p>{{ page.projects.section.preamble }}</p>
14
- {% endif %}
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
- <div class="row">
19
- <div class="col">
20
- {% if projects.size > 0 %}
21
- <div class="card-group">
22
- {% for i in projects limit: limit %}
23
- <div class="card">
24
- <a href="{{ i.link }}"><img src="{{ site.url }}/{{ site.baseurl }}/assets/img/people/{{ i.image }}" class="card-img-top" alt="{{ i.name }}"></a>
25
- <div class="card-body">
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
- </div>
32
+ </section>
39
33
  {% endif %}
@@ -1,16 +1,17 @@
1
1
  {% if page.pubkeys.section.visible == true %}
2
- <div class="container pt-5 text-center">
3
- <div class="row">
4
- <div class="col">
5
- {% if page.pubkeys.section.icon %}
6
- <i class="h1 {{ page.pubkeys.section.icon }}"></i>
7
- {% endif %} {% if page.pubkeys.section.name %}
8
- <h1>{{ page.pubkeys.section.name }}</h1>
9
- {% endif %} {% if page.pubkeys.section.preamble %}
10
- <p>{{ page.pubkeys.section.preamble }}</p>
11
- {% endif %}
12
- </div>
13
- </div>
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
- </div>
31
+
32
+ </section>
31
33
  {% endif %}
@@ -1,16 +1,17 @@
1
1
  {% if page.support.section.visible == true %}
2
- <div class="container pt-5 text-center">
3
- <div class="row">
4
- <div class="col">
5
- {% if page.support.section.icon %}
6
- <i class="h1 {{ page.support.section.icon }}"></i>
7
- {% endif %} {% if page.support.section.name %}
8
- <h1>{{ page.support.section.name }}</h1>
9
- {% endif %} {% if page.support.section.preamble %}
10
- <p>{{ page.support.section.preamble }}</p>
11
- {% endif %}
12
- </div>
13
- </div>
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
- </div>
25
+
26
+ </section>
25
27
  {% endif %}
@@ -7,22 +7,25 @@
7
7
  {% include base/header.html -%}
8
8
 
9
9
  <main>
10
- <div class="container py-5">
11
- {% if page.with_breadcrumbs %}
12
- <div class="row justify-content-center">
13
- <div class="col-sm-12 col-xl-8">
14
- {% include base/breadcrumbs.html %}
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="row my-5 justify-content-center">
24
- <div class="col-sm-12 col-xl-8 content">{{ content }}</div>
25
- </div>
27
+ <div class="col-sm-12 col-xl-8 content">{{ content }}</div>
28
+ </div>
26
29
  </div>
27
30
  </main>
28
31
 
@@ -4,9 +4,9 @@
4
4
 
5
5
  <body id="top">
6
6
  {% include base/navbar.html -%}
7
-
8
- <main class="pb-5">
9
7
  {% include people/header.html %}
8
+
9
+ <main>
10
10
  {% include people/about.html %}
11
11
  {% include people/projects.html %}
12
12
  {% include people/posts.html %}
@@ -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
Binary file
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-centos
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.0
4
+ version: 2.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ReleaseBot