jekyll-theme-centos 2.3.0.beta.67 → 2.3.0.beta.68

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/default/header.html +4 -4
  3. data/_includes/download/cards-body-convert.html +6 -8
  4. data/_includes/download/cards-body-doc.html +7 -4
  5. data/_includes/download/cards-body-eol.html +13 -4
  6. data/_includes/download/cards-body-screenshot.html +3 -0
  7. data/_includes/download/cards-body.html +6 -5
  8. data/_includes/download/cards-header-convert.html +7 -8
  9. data/_includes/download/cards-header-doc.html +7 -8
  10. data/_includes/download/cards-header-eol.html +7 -8
  11. data/_includes/download/cards-header-screenshot.html +8 -0
  12. data/_includes/download/cards-header.html +12 -10
  13. data/_includes/download/cards.html +47 -52
  14. data/_includes/editbar.html +4 -41
  15. data/_includes/footer.html +28 -31
  16. data/_includes/home/header.html +1 -1
  17. data/_includes/people/about.html +1 -1
  18. data/_includes/people/header.html +1 -1
  19. data/_includes/people/posts.html +1 -1
  20. data/_includes/people/projects.html +1 -1
  21. data/_includes/people/pubkeys.html +2 -2
  22. data/_includes/people/support.html +1 -1
  23. data/_includes/scripts.html +65 -0
  24. data/_includes/toc-accordion.html +4 -2
  25. data/_layouts/default.html +7 -12
  26. data/_layouts/people.html +16 -40
  27. data/_sass/centos/_adjustments.scss +57 -0
  28. data/_sass/centos/_variables.scss +72 -14
  29. data/assets/css/stylesheet.lists.min.scss +2 -1
  30. data/assets/css/stylesheet.min.scss +2 -1
  31. data/assets/img/distributions/centos-linux/7/screenshot-n.png +0 -0
  32. data/assets/img/distributions/centos-linux/8/screenshot-n.png +0 -0
  33. data/assets/img/distributions/centos-stream/8/screenshot-n.png +0 -0
  34. data/assets/img/distributions/centos-stream/9/screenshot-n.png +0 -0
  35. data/assets/img/distributions/name/release/screenshot-n.png +0 -0
  36. data/assets/img/distributions/name/release/screenshot-n.svg +128 -0
  37. data/assets/js/jquery.dataTables.min.js +4 -0
  38. data/assets/js/vanilla-back-to-top.min.js +1 -0
  39. data/default.md +36 -25
  40. data/download.md +91 -0
  41. data/people.md +3 -1
  42. metadata +15 -14
  43. data/_includes/top.html +0 -3
  44. data/_layouts/default-datatables.html +0 -35
  45. data/_sass/centos/_headings.scss +0 -32
  46. data/_sass/centos/_links.scss +0 -11
  47. data/assets/js/clipboard.js +0 -890
  48. data/assets/js/dataTables.bootstrap5.js +0 -212
  49. data/assets/js/dataTables.bootstrap5.min.mjs +0 -4
  50. data/assets/js/dataTables.bootstrap5.mjs +0 -168
  51. data/assets/js/jquery.js +0 -10965
  52. data/assets/js/jquery.min.map +0 -1
  53. data/assets/js/jquery.slim.js +0 -8866
  54. data/assets/js/jquery.slim.min.map +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3db055f1c5ad15008d0597097512aef4922250725f99d9ffbd8419c2d6eb9b66
4
- data.tar.gz: d31225de84f7dc84f421285957f66a9799a9b6ed00318b33c063dd885b8e71a7
3
+ metadata.gz: 988ada361c9fef1975f6b2cb981c193f320d6c1e8bba0e6184526ced7e0e0edf
4
+ data.tar.gz: 7473ccfbff736a90afbb456b4be972308a6f851fde7556a4e5fda329b6949a20
5
5
  SHA512:
6
- metadata.gz: da24ac6f2d9c3dc528afb35cc7a0babaeaa7c2c56b36d223a9e309022f9feab3775310b23679b62f29aa747744761969d4502432de0acf7ff59688ae58dbfaee
7
- data.tar.gz: 9fec6208fb3c90798ee8074a2ea13d7bffdce0229e71cb3427d96fc03cfc7dcf11ab0bec62a83d39d9e430232e2f5b85250684557f3d52caa071e1a1f5716c95
6
+ metadata.gz: 34f81b95a67eb41ffab9f86dbd50aebc1cf21cbea9356d7d82ad03bf6bd145d3c60007079e71c05c1c560199b595c774ed3db8dc776f50cd6c61c24e48ef0d91
7
+ data.tar.gz: 9a5ad6ecc0532861e8299a6f41a8c7d644762351c53c46efb5b367e22c939f0134ced0623165d676d452edbb1d37dfe0c3714c1d9abf3e9ceac4e522e68fb0ad
@@ -1,8 +1,8 @@
1
- <div class="bg-image">
2
- <div class="container py-5 text-light">
3
- <div class="row mb-5">
1
+ <div class="bg-image bg-dark text-light">
2
+ <div class="container py-5">
3
+ <div class="row my-3">
4
4
  <div class="col">
5
- <div class="display-4 my-4 fw-bold">{{ page.title }}</div>
5
+ <div class="display-4 fw-bold">{{ page.title }}</div>
6
6
  <div class="lead">{{ page.title_lead }}</div>
7
7
  </div>
8
8
  </div>
@@ -1,12 +1,10 @@
1
- {% capture code %}```sh
2
- {{ row["commands"] | lstrip }}
3
- ```{% endcapture %}
4
-
5
1
  <tr>
6
2
  <td>
7
- {% if row["commands"] != "" %}
8
- {{ code | markdownify }}
9
- {% endif %}
3
+ {% if row.commands != "" %}
4
+ <div class="input-group">
5
+ <textarea id="{{ card.page }}-{{ release[0] }}-key-{{ forloop.index }}" class="form-control font-monospace" placeholder="{{ row.overview }}" aria-label="{{ row.overview }}" aria-describedby="{{ card.page }}-button-{{ forloop.index }}" readonly rows="2">{{ row.commands }}</textarea>
6
+ <button id="{{ card.page }}-{{ release[0] }}-button-{{ forloop.index }}" class="btn btn-clipboard" type="button" aria-label="Copy to clipboard" data-clipboard-target="#{{ card.page }}-{{ release[0] }}-key-{{ forloop.index }}" data-bs-toggle="tooltip" data-bs-title="Copy to clipboard"><i class="fa-solid fa-clipboard"></i></button>
7
+ </div>
8
+ {% endif %}
10
9
  </td>
11
10
  </tr>
12
-
@@ -1,6 +1,9 @@
1
1
  <tr>
2
- <td>{% if row["release_notes"] != "" %}<a href="{{ row['release_notes'] }}">Release Notes</a>{% else %}Release Notes{% endif %}
3
- | {% if row["release_email"] != "" %}<a href="{{ row['release_email'] }}">Release Email</a>{% else %}Release Email{% endif %}
4
- | {% if row["website"] != "" %}<a href="{{ row['website'] }}">Website</a>{% else %}Website{% endif %}</td>
2
+ <td>
3
+ {% for rows in release %}
4
+ {% for row in rows.docs %}
5
+ <a class="btn btn-sm btn-light{% if row.name == "" %} disabled" aria-disabled="true"{% else %}" href="{{ row.link }}"{% endif %} role="button"><i class="fa-solid fa-download"></i> {{ row.name }}</a>
6
+ {% endfor %}
7
+ {% endfor %}
8
+ </td>
5
9
  </tr>
6
-
@@ -1,7 +1,16 @@
1
1
  <tr>
2
2
  <td>
3
- {% if row["overview"] != "" %}{{ row['overview'] }} {% endif %}
4
- {% if row["date"] != "" %}{{ row['date'] | date_to_string: "ordinal", "US" }} {% endif %}
5
- {% if row["url"] != "" %}<a href="{{ row['url'] }}"><i class="fas fa-exclamation-circle"></i></a>{% endif %}
6
- </td>
3
+ {% if row.overview != "" %}
4
+ {{ row.overview }}
5
+ {% endif %}
6
+
7
+ {% if row.date != "" %}
8
+ {{ row.date | date_to_string: "ordinal", "US" }}
9
+ {% endif %}
10
+
11
+ {% if row.url != "" %}
12
+ <a href="{{ row.url }}"><i class="fas fa-exclamation-circle"></i> Know more</a>
13
+ {% else %}
14
+ {% endif %}
15
+ </td>
7
16
  </tr>
@@ -0,0 +1,3 @@
1
+ <tr>
2
+ <td>{% if row.image != "" %}<img class="img-fluid border-bottom rounded-top" src="{{ site.baseurl }}/assets/img/distributions/{{ card.page }}/{{ release[0] }}/{{ row.src }}" alt="{{ row.alt }}" />{% endif %}</td>
3
+ </tr>
@@ -1,7 +1,8 @@
1
1
  <tr>
2
- <td><a href="{{ row['iso'] }}"> {{ row['arch'] }}</a></td>
3
- <td>{% if row["rpm"] != "" %}<a href="{{ row['rpm'] }}"> RPMs</a>{% else %}RPMs{% endif %}</td>
4
- <td>{% if row["cloud"] != "" %}<a href="{{ row['cloud'] }}">Cloud</a>{% else %}Cloud{% endif %}
5
- | {% if row["containers"] != "" %}<a href="{{ row['containers'] }}">Containers</a>{% else %}Containers{% endif %}
6
- | {% if row["vagrant"] != "" %}<a href="{{ row['vagrant'] }}">Vagrant</a>{% else %}Vagrant{% endif %}</td>
2
+ <td>{{ row.arch }}</td>
3
+ <td><a class="btn btn-sm btn-light{% if row.iso] == "" %} disabled" aria-disabled="true"{% else %}" href="{{ row.iso }}"{% endif %} role="button"><i class="fa-solid fa-download"></i> Download</a></td>
4
+ <td><a class="btn btn-sm btn-light{% if row.rpm] == "" %} disabled" aria-disabled="true"{% else %}" href="{{ row.rpm }}"{% endif %} role="button"><i class="fa-solid fa-download"></i> Download</a></td>
5
+ <td><a class="btn btn-sm btn-light{% if row.cloud] == "" %} disabled" aria-disabled="true"{% else %}" href="{{ row.cloud }}"{% endif %} role="button"><i class="fa-solid fa-download"></i> Download</a></td>
6
+ <td><a class="btn btn-sm btn-light{% if row.containers] == "" %} disabled" aria-disabled="true"{% else %}" href="{{ row.containers }}"{% endif %} role="button"><i class="fa-solid fa-download"></i> Download</a></td>
7
+ <td><a class="btn btn-sm btn-light{% if row.vagrant] == "" %} disabled" aria-disabled="true"{% else %}" href="{{ row.vagrant }}"{% endif %} role="button"><i class="fa-solid fa-download"></i> Download</a></td>
7
8
  </tr>
@@ -1,9 +1,8 @@
1
1
  <div class="table-responsive">
2
- <table class="table">
3
- <thead>
4
- <tr>
5
- <th scope="col"><i class="fas fa-sync-alt"></i> {{ row["overview"] }}</th>
6
- </tr>
7
- </thead>
8
- <tbody>
9
-
2
+ <table class="table mb-0">
3
+ <thead class="table-light">
4
+ <tr>
5
+ <th scope="col"><i class="fas fa-sync-alt"></i> {{ row.overview }}</th>
6
+ </tr>
7
+ </thead>
8
+ <tbody>
@@ -1,9 +1,8 @@
1
1
  <div class="table-responsive">
2
- <table class="table">
3
- <thead>
4
- <tr>
5
- <th scope="col"><i class="fas fa-book"></i> Documentation</th>
6
- </tr>
7
- </thead>
8
- <tbody>
9
-
2
+ <table class="table mb-0">
3
+ <thead class="table-light">
4
+ <tr>
5
+ <th scope="col"><i class="fa-solid fa-book"></i> Documentation</th>
6
+ </tr>
7
+ </thead>
8
+ <tbody>
@@ -1,9 +1,8 @@
1
1
  <div class="table-responsive">
2
- <table class="table">
3
- <thead>
4
- <tr>
5
- <th scope="col"><i class="fas fa-hourglass-end"></i> End-of-life</th>
6
- </tr>
7
- </thead>
8
- <tbody>
9
-
2
+ <table class="table mb-0">
3
+ <thead class="table-light">
4
+ <tr>
5
+ <th scope="col"><i class="fas fa-hourglass-end"></i> End-of-life</th>
6
+ </tr>
7
+ </thead>
8
+ <tbody>
@@ -0,0 +1,8 @@
1
+ <div class="table-responsive">
2
+ <table class="table mb-0">
3
+ <thead class="table-light">
4
+ <tr>
5
+ <th scope="col"><i class="fas fa-camara"></i> Screenshot</th>
6
+ </tr>
7
+ </thead>
8
+ <tbody>
@@ -1,11 +1,13 @@
1
1
  <div class="table-responsive">
2
- <table class="table">
3
- <thead>
4
- <tr>
5
- <th scope="col"><i class="fas fa-microchip"></i> Architectures</th>
6
- <th scope="col">Packages</th>
7
- <th scope="col">Others</th>
8
- </tr>
9
- </thead>
10
- <tbody>
11
-
2
+ <table class="table mb-0">
3
+ <thead class="table-light">
4
+ <tr>
5
+ <th scope="col"><i class="fa-solid fa-microchip"></i> Architectures</th>
6
+ <th scope="col">ISOs</th>
7
+ <th scope="col">RPMs</th>
8
+ <th scope="col">Cloud</th>
9
+ <th scope="col">Containers</th>
10
+ <th scope="col">Vagrant</th>
11
+ </tr>
12
+ </thead>
13
+ <tbody>
@@ -4,60 +4,55 @@
4
4
  {% assign cards = site.data.centos.distributions %}
5
5
  {% endif %}
6
6
 
7
- <div class="download__content__card">
8
- <div class="download__content__card__header">
9
- <ul class="nav nav-pills card-header-pills flex-column flex-sm-row">
10
- {% for item in cards %}
11
- <li class="nav-item flex-sm-fill text-sm-center"><a class="nav-link{% if forloop.first %} active{% endif %}" role="tab" data-toggle="tab" href="#{{ item.page }}">{{ item.name }}</a></li>
7
+ {% for card in cards %}
8
+ <div class="mb-5">
9
+ {{ card.description }}
10
+ <ul class="nav nav-pills my-3 justify-content-start" id="pills-{{ card.page }}-tab" role="tablist">
11
+ {% for release in card.releases %}
12
+ <li class="nav-item" role="presentation">
13
+ <button class="nav-link{% if forloop.first %} active{% endif %} fw-bold" id="pills-{{ card.page }}-release-{{ forloop.index }}-tab" data-bs-toggle="tab" data-bs-target="#pills-{{ card.page }}-release-{{ forloop.index }}" type="button" role="tab" aria-controls="pills-{{ forloop.index }}-release-{{ release[0] }}-tab" {% if forloop.first %} aria-selected="true" {% endif %}>{{ release[0] }}</button>
14
+ </li>
12
15
  {% endfor %}
13
- </ul>
14
- </div>
15
- <div class="download__content__card__body tab-content">
16
- {% for item in cards %}
17
- <div class="tab-pane{% if forloop.first %} active{% endif %}" role="tabpanel" id="{{ item.page }}">
18
-
19
- <div class="download__content__card">
20
- <div class="download__content__card__header">
21
- <ul class="nav nav-pills card-header-pills flex-column flex-sm-row">
22
- {% for release in item.releases %}
23
- <li class="nav-item flex-sm-fill text-sm-center"><a class="nav-link{% if forloop.first %} active{% endif %}" role="tab" data-toggle="tab" href="#{{ item.page }}-{{ release[0] }}">{{ release[0] }}</a></li>
24
- {% endfor %}
25
- </ul>
26
- </div>
27
-
28
- <div class="download__content__card__body tab-content">
29
- {% for release in item.releases %}
30
- <div class="tab-pane{% if forloop.first %} active{% endif %}" role="tabpanel" id="{{ item.page }}-{{ release[0] }}">
31
- {% include download/cards-header.html %}
32
- {% for row in release[1].downloads %}
33
- {% include download/cards-body.html %}
34
- {% endfor %}
35
- {% include download/cards-footer.html %}
36
-
37
- {% include download/cards-header-doc.html %}
38
- {% for row in release[1].docs %}
39
- {% include download/cards-body-doc.html %}
40
- {% endfor %}
41
- {% include download/cards-footer.html %}
42
-
43
- {% include download/cards-header-eol.html %}
44
- {% for row in release[1].eol %}
45
- {% include download/cards-body-eol.html %}
46
- {% endfor %}
47
- {% include download/cards-footer.html %}
48
-
49
- {% for row in release[1].convert %}
50
- {% include download/cards-header-convert.html %}
51
- {% include download/cards-body-convert.html %}
52
- {% include download/cards-footer.html %}
53
- {% endfor %}
54
-
55
- </div>
56
- {% endfor %}
57
- </div>
58
- </div>
59
-
16
+ </ul>
17
+
18
+ <div class="tab-content mb-3" id="pills-{{ card.page }}-tabContent">
19
+ {% for release in card.releases %}
20
+ <div class="tab-pane fade {% if forloop.first %} show active{% endif %}" id="pills-{{ card.page }}-release-{{ forloop.index }}" role="tabpanel" aria-labelledby="pills-{{ card.page }}-release-{{ forloop.index }}-tab" tabindex="{{ forloop.index }}">
21
+ {% for rows in release %}
22
+ {% for row in rows.screenshots %}
23
+ {% if row.image != "" %}
24
+ <img class="img-fluid border-bottom rounded-top" src="{{ site.baseurl }}/assets/img/distributions/{{ card.page }}/{{ release[0] }}/{{ row.src }}" alt="{{ row.alt }}" />
25
+ {% endif %} {% endfor %} {% endfor %}
26
+
27
+ {% include download/cards-header.html %}
28
+ {% for rows in release %}
29
+ {% for row in rows.downloads %}
30
+ {% include download/cards-body.html %}
31
+ {% endfor %}
32
+ {% endfor %}
33
+ {% include download/cards-footer.html %}
34
+
35
+ {% include download/cards-header-doc.html %}
36
+ {% include download/cards-body-doc.html %}
37
+ {% include download/cards-footer.html %}
38
+
39
+ {% include download/cards-header-eol.html %}
40
+ {% for rows in release %}
41
+ {% for row in rows.eol %}
42
+ {% include download/cards-body-eol.html %}
43
+ {% endfor %}
44
+ {% endfor %}
45
+ {% include download/cards-footer.html %}
46
+
47
+ {% for rows in release %}
48
+ {% for row in rows.convert %}
49
+ {% include download/cards-header-convert.html %}
50
+ {% include download/cards-body-convert.html %}
51
+ {% include download/cards-footer.html %}
52
+ {% endfor %}
53
+ {% endfor %}
60
54
  </div>
61
55
  {% endfor %}
62
56
  </div>
63
57
  </div>
58
+ {% endfor %}
@@ -1,43 +1,6 @@
1
- <!-- Button trigger modal -->
2
- <button type="button" class="btn btn-sm btn-light" data-bs-toggle="modal" data-bs-target="#modalEditThisPage"><i class="fa-sharp fa-solid fa-pen-to-square"></i> Edit</button>
3
- <button type="button" class="btn btn-sm btn-light" data-bs-toggle="modal" data-bs-target="#modalReportAnIssue"><i class="fa-solid fa-bug"></i> Report an issue</button>
4
-
5
- <!-- Modal: Edit this page -->
6
- <div class="modal fade" id="modalEditThisPage" data-bs-keyboard="true" tabindex="-1" aria-labelledby="modalEditThisPageLabel" aria-hidden="true">
7
- <div class="modal-dialog modal-lg">
8
- <div class="modal-content">
9
- <div class="modal-header">
10
- <h1 class="modal-title fs-5" id="modalEditThisPageLabel">Edit this page</h1>
11
- <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
12
- </div>
13
- <div class="modal-body text-start">
14
- <p>Praesent fermentum tempor tellus. Nullam tempus. Mauris ac felis vel velit tristique imperdiet. Donec at pede. Etiam vel neque nec dui dignissim bibendum. Vivamus id enim. Phasellus neque orci, porta a, aliquet quis, semper a, massa. Phasellus purus. Pellentesque tristique imperdiet tortor. Nam euismod tellus id erat. Nullam eu ante vel est convallis dignissim. Fusce suscipit, wisi nec facilisis facilisis, est dui fermentum leo, quis tempor ligula erat quis odio.</p>
15
- <pre>
16
- git clone git.centos.org/centos/centos.org/
17
- </pre>
18
- </div>
19
- <div class="modal-footer">
20
- <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
21
- </div>
22
- </div>
23
- </div>
24
- </div>
25
-
26
- <!-- Modal: Report an issue -->
27
- <div class="modal fade" id="modalReportAnIssue" data-bs-keyboard="true" tabindex="-1" aria-labelledby="modalReportAnIssueLabel" aria-hidden="true">
28
- <div class="modal-dialog modal-lg">
29
- <div class="modal-content">
30
- <div class="modal-header">
31
- <h1 class="modal-title fs-5" id="modalReportAnIssueLabel">Report an issue</h1>
32
- <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
33
- </div>
34
- <div class="modal-body text-start">
35
- <p>Praesent fermentum tempor tellus. Nullam tempus. Mauris ac felis vel velit tristique imperdiet. Donec at pede. Etiam vel neque nec dui dignissim bibendum. Vivamus id enim. Phasellus neque orci, porta a, aliquet quis, semper a, massa. Phasellus purus. Pellentesque tristique imperdiet tortor. Nam euismod tellus id erat. Nullam eu ante vel est convallis dignissim. Fusce suscipit, wisi nec facilisis facilisis, est dui fermentum leo, quis tempor ligula erat quis odio.</p>
36
- <p>Praesent fermentum tempor tellus. Nullam tempus. Mauris ac felis vel velit tristique imperdiet. Donec at pede. Etiam vel neque nec dui dignissim bibendum. Vivamus id enim. Phasellus neque orci, porta a, aliquet quis, semper a, massa. Phasellus purus. Pellentesque tristique imperdiet tortor. Nam euismod tellus id erat. Nullam eu ante vel est convallis dignissim. Fusce suscipit, wisi nec facilisis facilisis, est dui fermentum leo, quis tempor ligula erat quis odio.</p>
37
- </div>
38
- <div class="modal-footer">
39
- <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
40
- </div>
41
- </div>
1
+ <div class="position-relative">
2
+ <div class="position-absolute end-0">
3
+ <button type="button" class="btn btn-sm btn-light" aria-label="Edit this page"><i class="fa-solid fa-edit"></i> Edit</button>
4
+ <button type="button" class="btn btn-sm btn-light" aria-label="Send feedback"><i class="fa-solid fa-bug"></i> Open new issue</button>
42
5
  </div>
43
6
  </div>
@@ -1,38 +1,35 @@
1
1
  <footer class="footer pt-3 bg-dark small text-light">
2
+ <div class="container">
3
+ <div class="row justify-content-between mt-4 pt-4">
4
+ <div class="col-lg-3 mb-5">
5
+ <a class="navbar-brand" href="{{ site.baseurl }}/{{ site.data.centos.identity.logo.link }}"><img role="img" src="{{ site.baseurl }}/{{ site.data.centos.identity.logo.navbar }}" height="32" alt="{{ site.title }}" /><span class="manifestation">{{ site.data.centos.identity.logo.manifestation }}</span></a>
6
+ <p class="my-3">{{ site.data.centos.identity.description }}</p>
7
+ <ul class="nav list-unstyled d-flex">
8
+ {% for item in site.data.centos.footer.social %}
9
+ <li class="nav-item me-4 fs-5">
10
+ <a href="{{ item.link }}" role="button" aria-label="{{ item.name }}" class="link-light"><i class="{{ item.icon }}"></i></a>
11
+ </li>
12
+ {% endfor %}
13
+ </ul>
14
+ </div>
2
15
 
3
- <div class="container">
4
- <div class="row justify-content-between mt-4 pt-4">
5
- <div class="col-lg-3 mb-5">
6
- <a class="navbar-brand" href="{{ site.baseurl }}/{{ site.data.centos.identity.logo.link }}"><img role="img" src="{{ site.baseurl }}/{{ site.data.centos.identity.logo.navbar }}" height="32" alt="{{ site.title }}"><span class="manifestation">{{ site.data.centos.identity.logo.manifestation }}</span></a>
7
- <p class="my-3">{{ site.data.centos.identity.description }}</p>
8
- <ul class="nav list-unstyled d-flex">
9
- {% for item in site.data.centos.footer.social %}
10
- <li class="nav-item me-4 fs-5"><a href="{{ item.link }}" role="button" aria-label="{{ item.name }}" class="link-light"><i class="{{ item.icon }}"></i></a></li>
11
- {% endfor %}
12
- </ul>
16
+ {% if site.data.centos.footer.columns %} {% for column in site.data.centos.footer.columns %} {% assign links = site.data.centos.navbar | where: "name", column %} {% for section in links %}
17
+ <div class="col-sm-12 col-lg-3 mb-3">
18
+ <h6 class="text-uppercase fw-bold">{{ section.name }}</h6>
19
+ <ul class="nav flex-column">
20
+ {% for item in section.menu %}
21
+ <li class="nav-item my-1"><a href="{{ item.link }}" class="px-0 link-light">{{ item.name }}</a></li>
22
+ {% endfor %}
23
+ </ul>
24
+ </div>
25
+ {% endfor %} {% endfor %} {% endif %}
13
26
  </div>
14
27
 
15
- {% if site.data.centos.footer.columns %}
16
- {% for column in site.data.centos.footer.columns %}
17
- {% assign links = site.data.centos.navbar | where: "name", column %}
18
- {% for section in links %}
19
- <div class="col-sm-12 col-lg-3 mb-3">
20
- <h6 class="text-uppercase fw-bold">{{ section.name }}</h6>
21
- <ul class="nav flex-column">
22
- {% for item in section.menu %}
23
- <li class="nav-item my-1"><a href="{{ item.link }}" class="px-0 link-light">{{ item.name }}</a></li>
24
- {% endfor %}
25
- </ul>
28
+ <div class="row py-3">
29
+ <div class="col">
30
+ Copyright &copy; {{ site.time | date: "%Y" }} {{ site.data.centos.footer.copyright.author }} {% for item in site.data.centos.footer.copyright.legals %} | <span class="nav-item"><a href="{{ item.link }}" class="link-light">{{ item.text }}</a></span
31
+ >{% endfor %}
32
+ </div>
26
33
  </div>
27
- {% endfor %}
28
- {% endfor %}
29
- {% endif %}
30
34
  </div>
31
-
32
- <div class="row py-3">
33
- <div class="col">Copyright &copy; {{ site.time | date: "%Y" }} {{ site.data.centos.footer.copyright.author }} {% for item in site.data.centos.footer.copyright.legals %} | <span class="nav-item"><a href="{{ item.link }}" class="link-light">{{ item.text }}</a></span>{% endfor %}</div>
34
- </div>
35
-
36
- </div>
37
-
38
35
  </footer>
@@ -1,4 +1,4 @@
1
- <div class="bg-image">
1
+ <div class="bg-image bg-dark text-light">
2
2
  <div class="container py-5 text-white text-center">
3
3
  <div class="row">
4
4
  <div class="col">
@@ -3,7 +3,7 @@
3
3
  <div class="row">
4
4
  <div class="col">
5
5
  {% if page.about.section.icon %}
6
- <div class="display-4">{{ page.about.section.icon }}</div>
6
+ <div class="display-6">{{ page.about.section.icon }}</div>
7
7
  {% endif %} {% if page.about.section.name %}
8
8
  <div class="display-6 fw-bold">{{ page.about.section.name }}</div>
9
9
  {% endif %} {% if page.about.section.preamble %}
@@ -1,4 +1,4 @@
1
- <div class="bg-image">
1
+ <div class="bg-dark bg-image">
2
2
  <div class="container p-5 text-white text-center">
3
3
  <div class="row">
4
4
  <div class="col">
@@ -3,7 +3,7 @@
3
3
  <div class="row">
4
4
  <div class="col">
5
5
  {% if page.posts.section.icon %}
6
- <div class="display-4">{{ page.posts.section.icon }}</div>
6
+ <div class="display-6">{{ page.posts.section.icon }}</div>
7
7
  {% endif %} {% if page.posts.section.name %}
8
8
  <div class="display-6 fw-bold">{{ page.posts.section.name }}</div>
9
9
  {% endif %} {% if page.posts.section.preamble %}
@@ -3,7 +3,7 @@
3
3
  <div class="row">
4
4
  <div class="col">
5
5
  {% if page.projects.section.icon %}
6
- <div class="display-4">{{ page.projects.section.icon }}</div>
6
+ <div class="display-6">{{ page.projects.section.icon }}</div>
7
7
  {% endif %} {% if page.projects.section.name %}
8
8
  <div class="display-6 fw-bold">{{ page.projects.section.name }}</div>
9
9
  {% endif %} {% if page.projects.section.preamble %}
@@ -3,7 +3,7 @@
3
3
  <div class="row">
4
4
  <div class="col">
5
5
  {% if page.pubkeys.section.icon %}
6
- <div class="display-4">{{ page.pubkeys.section.icon }}</div>
6
+ <div class="display-6">{{ page.pubkeys.section.icon }}</div>
7
7
  {% endif %} {% if page.pubkeys.section.name %}
8
8
  <div class="display-6 fw-bold">{{ page.pubkeys.section.name }}</div>
9
9
  {% endif %} {% if page.pubkeys.section.preamble %}
@@ -19,7 +19,7 @@
19
19
  <p class="fw-bold">{{ pubkey.name }}</p>
20
20
  <div class="input-group">
21
21
  <textarea id="{{ pubkey.name }}-key-{{ forloop.index }}" class="form-control font-monospace" placeholder="User's key" aria-label="User's key" aria-describedby="{{ pubkey.name }}-button-{{ forloop.index }}" readonly rows="5">{{ pubkey.content }}</textarea>
22
- <button id="{{ pubkey.name }}-button-{{ forloop.index }}" class="btn btn-clipboard btn-outline-primary" type="button" aria-label="Copy to clipboard" data-clipboard-target="#{{ pubkey.name }}-key-{{ forloop.index }}" data-bs-toggle="tooltip" data-bs-title="Copy to clipboard"><i class="fa-solid fa-clipboard"></i></button>
22
+ <button id="{{ pubkey.name }}-button-{{ forloop.index }}" class="btn btn-clipboard" type="button" aria-label="Copy to clipboard" data-clipboard-target="#{{ pubkey.name }}-key-{{ forloop.index }}" data-bs-toggle="tooltip" data-bs-title="Copy to clipboard"><i class="fa-solid fa-clipboard"></i></button>
23
23
  </div>
24
24
  </div>
25
25
  {% endfor %}
@@ -3,7 +3,7 @@
3
3
  <div class="row">
4
4
  <div class="col">
5
5
  {% if page.support.section.icon %}
6
- <div class="display-4">{{ page.support.section.icon }}</div>
6
+ <div class="display-6">{{ page.support.section.icon }}</div>
7
7
  {% endif %} {% if page.support.section.name %}
8
8
  <div class="display-6 fw-bold">{{ page.support.section.name }}</div>
9
9
  {% endif %} {% if page.support.section.preamble %}
@@ -0,0 +1,65 @@
1
+ <!-- JQuery -->
2
+ <script src="{{ site.baseurl }}/assets/js/jquery.min.js"></script>
3
+
4
+ <!-- DataTables -->
5
+ {% if page.with_datatable == true %}
6
+ <script src="{{ site.baseurl }}/assets/js/jquery.dataTables.min.js"></script>
7
+ <script src="{{ site.baseurl }}/assets/js/dataTables.bootstrap5.min.js"></script>
8
+ <script>
9
+ $(document).ready(function () {
10
+ $("#download-mirror").DataTable();
11
+ });
12
+ </script>
13
+ {% endif %}
14
+
15
+ <!-- BackToTop -->
16
+ <script src="{{ site.baseurl }}/assets/js/vanilla-back-to-top.min.js"></script>
17
+ <script>
18
+ addBackToTop({
19
+ diameter: 56,
20
+ backgroundColor: "rgb(32, 7, 53)",
21
+ textColor: "#fff",
22
+ });
23
+ </script>
24
+
25
+ <!-- Clipboard.JS -->
26
+ {% if page.with_clipboard == true %}
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
+ <!-- Bootstrap -->
60
+ <script src="{{ site.baseurl }}/assets/js/bootstrap.bundle.min.js"></script>
61
+ <script>
62
+ // Initialize Tooltips
63
+ const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]');
64
+ const tooltipList = [...tooltipTriggerList].map((tooltipTriggerEl) => new bootstrap.Tooltip(tooltipTriggerEl));
65
+ </script>
@@ -1,10 +1,12 @@
1
- <div class="accordion my-4" id="pageTocAccordion">
1
+ {% if page.with_toc %}
2
+ <div class="accordion my-3" id="pageTocAccordion">
2
3
  <div class="accordion-item">
3
4
  <div class="accordion-header" id="flush-headingOne">
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 content</button>
5
+ <button class="accordion-button collapsed py-1" type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapseOne" aria-expanded="false" aria-controls="flush-collapseOne">Table of contents</button>
5
6
  </div>
6
7
  <div id="flush-collapseOne" class="accordion-collapse collapse" aria-labelledby="flush-headingOne" data-bs-parent="#pageTocAccordion">
7
8
  <div class="accordion-body">{% include toc.html html=content %}</div>
8
9
  </div>
9
10
  </div>
10
11
  </div>
12
+ {% endif %}