jekyll-theme-centos 2.2.17 → 2.2.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62f812c940fcb5fa9e6910c6ef3fae60179e1b02ae83990ef5f4b10a147ae000
4
- data.tar.gz: b046bccfc5f6b7b851d4179ce6df8dea480791a8b37629d8ba858ee9617a5efe
3
+ metadata.gz: 5ee8dbcdf6ee190b26b72cfb88e0c647a142ae5e696ed4a65f4515f54fa07f07
4
+ data.tar.gz: 07d233eafdab6d057dd2b2db31f999a78df88515032bd783393520420806579a
5
5
  SHA512:
6
- metadata.gz: c5df13ea5ee639a1ee954f945bb393b805f5425266767b5c740ee0757269dbac6f439ca450708a7f37d36e0b4a0836c761d2d621e30ac7a89b8e7efc4c73e4b2
7
- data.tar.gz: e154539d7022215093cf1a1ca22671f6a8d658993b61eec52c9dd684a53d08ef03c02176e27f7d648a6594f36dd8ac5c08f9b59464826424f67c6db868124244
6
+ metadata.gz: 4a3050f296960b68a7afbb9a781f5f9239a017be5768d87ba1c837f867e7e7ee60b25504843a09fb53961ddf6e6caab8f6a141c18e8969019ba341c4b62d2355
7
+ data.tar.gz: 72d235562bf3343e610caf1269c6088df5493b0d7899d4a32146ef95236144e19fe84cc2228aebf04d22045a9219787dbb56cb6b0cea99422aad04b4dc9ecb6d
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.2.17
4
+ version: 2.2.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Release
@@ -46,23 +46,9 @@ extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
48
  - _config.yml
49
- - _data/base/footer.yml
50
- - _data/base/identity.yml
51
- - _data/base/navbar.yml
52
- - _data/base/navbar_absolute.yml
53
- - _data/base/navbar_component.yml
54
49
  - _data/download/cards.yml
55
50
  - _data/download/navbar.yml
56
51
  - _data/people/navbar.yml
57
- - _includes/base/announcements.html
58
- - _includes/base/breadcrumbs.html
59
- - _includes/base/footer.html
60
- - _includes/base/head.html
61
- - _includes/base/header.html
62
- - _includes/base/navbar.html
63
- - _includes/base/script.html
64
- - _includes/base/toc-accordion.html
65
- - _includes/base/toc.html
66
52
  - _includes/download/cards-body-convert.html
67
53
  - _includes/download/cards-body-doc.html
68
54
  - _includes/download/cards-body-eol.html
@@ -89,7 +75,6 @@ files:
89
75
  - _includes/people/support.html
90
76
  - _includes/post-nav-explorer.html
91
77
  - _includes/post-nav.html
92
- - _layouts/base/default.html
93
78
  - _layouts/blog.html
94
79
  - _layouts/download/cards.html
95
80
  - _layouts/home.html
@@ -97,9 +82,6 @@ files:
97
82
  - _layouts/post.html
98
83
  - _layouts/search.html
99
84
  - _layouts/sponsors.html
100
- - _sass/base/_centos-lists.scss
101
- - _sass/base/_centos.scss
102
- - _sass/base/_variables.scss
103
85
  - _sass/bootstrap/_accordion.scss
104
86
  - _sass/bootstrap/_alert.scss
105
87
  - _sass/bootstrap/_badge.scss
@@ -194,7 +176,6 @@ files:
194
176
  - _sass/bootstrap/vendor/_rfs.scss
195
177
  - assets/css/dataTables.bootstrap5.css
196
178
  - assets/css/dataTables.bootstrap5.min.css
197
- - assets/css/stylesheet.min.scss
198
179
  - assets/icons/android-chrome-192.png
199
180
  - assets/icons/android-chrome-512.png
200
181
  - assets/icons/apple-touch-icon.png
@@ -1,32 +0,0 @@
1
- ---
2
- #
3
- # site.data.base.footer - Control footer section.
4
- #
5
- social:
6
- - name: Facebook
7
- icon: "fa-brands fa-facebook-f"
8
- link: "https://www.facebook.com/groups/centosproject/"
9
- - name: Twitter
10
- icon: "fa-brands fa-twitter"
11
- link: "https://twitter.com/centos"
12
- - name: Youtube
13
- icon: "fa-brands fa-youtube"
14
- link: "https://youtube.com/TheCentOSProject"
15
- - name: Linkedin
16
- icon: "fa-brands fa-linkedin"
17
- link: "https://www.linkedin.com/groups/22405"
18
- - name: Reddit
19
- icon: "fa-brands fa-reddit"
20
- link: "https://www.reddit.com/r/CentOS/"
21
- - name: Mastodon
22
- icon: "fa-brands fa-mastodon"
23
- link: "https://fosstodon.org/@centos"
24
- copyright:
25
- author: "The CentOS Project"
26
- legals:
27
- - text: "Legal"
28
- link: "/legal"
29
- - text: "Privacy"
30
- link: "/legal/privacy"
31
- - text: "Site source"
32
- link: "https://git.centos.org/centos/centos.org"
@@ -1,20 +0,0 @@
1
- ---
2
- #
3
- # site.data.base.identity - Control the site branding (corporate visual
4
- # identity) information.
5
- #
6
- title: "The CentOS Project"
7
- description: >
8
- Community-driven free software effort focused around the goal of providing a
9
- rich base platform for open source communities to build upon.
10
-
11
- logo:
12
- link: ""
13
- navbar: "assets/img/centos-whitelogo.svg"
14
- footer: "assets/img/centos-logo.svg"
15
- manifestation: ""
16
- symbol:
17
- link: ""
18
- image: "assets/img/centos-symbol.svg"
19
- motif:
20
- image: "assets/img/centos-motif.png"
@@ -1,74 +0,0 @@
1
- ---
2
- #
3
- # site.data.base.navbar - Control top navigation bar using relative links for
4
- # internal resources and absolute links for external resources. Useful when you
5
- # need the same site to be browsable on different environments (e.g., www and
6
- # www.dev).
7
- #
8
- - name: "Download"
9
- icon: "fas fa-download"
10
- link: "/download"
11
- menu: []
12
- visible_on: ["navbar"]
13
- - name: "About"
14
- icon: "fas fa-info-circle"
15
- link: "#"
16
- menu:
17
- - name: "About CentOS"
18
- link: "/about"
19
- - name: "Frequently Asked Questions (FAQs)"
20
- link: "https://wiki.centos.org/FAQ"
21
- - name: "Special Interest Groups (SIGs)"
22
- link: "https://wiki.centos.org/SpecialInterestGroups"
23
- - name: "CentOS Variants"
24
- link: "/variants"
25
- - name: "Governance"
26
- link: "/about/governance"
27
- visible_on: ["navbar", "footer"]
28
- - name: "Community"
29
- icon: "fas fa-users"
30
- link: "#"
31
- menu:
32
- - name: "Contribute"
33
- link: "https://wiki.centos.org/Contribute"
34
- icon: "fas fa-hands-helping"
35
- - name: "Forums"
36
- link: "/forums/"
37
- icon: "fas fa-comments"
38
- - name: "Mailing Lists"
39
- link: "https://wiki.centos.org/GettingHelp/ListInfo"
40
- icon: "fas fa-envelope"
41
- - name: "IRC"
42
- link: "https://wiki.centos.org/irc"
43
- icon: "fas fa-hashtag"
44
- - name: "Calendar & IRC Meeting List"
45
- link: "/community/calendar/"
46
- icon: "fas fa-calendar-alt"
47
- - name: "Planet"
48
- link: "http://planet.centos.org/"
49
- icon: "fas fa-newspaper"
50
- - name: "Submit Bug"
51
- link: "https://bugs.centos.org/"
52
- icon: "fas fa-bug"
53
- visible_on: ["navbar", "footer"]
54
- - name: "Documentation"
55
- icon: "fas fa-book"
56
- link: "#"
57
- menu:
58
- - name: "Wiki"
59
- link: "https://wiki.centos.org/"
60
- - name: "Manuals"
61
- link: "https://docs.centos.org/"
62
- - name: "GPG Key Info"
63
- link: "/keys"
64
- visible_on: ["navbar", "footer"]
65
- - name: "Help"
66
- icon: "fas fa-life-ring"
67
- link: "https://wiki.centos.org/Documentation?action=show&redirect=GettingHelp"
68
- menu: []
69
- visible_on: ["navbar"]
70
- - name: "Search"
71
- icon: "fas fa-search"
72
- link: "/search"
73
- menu: []
74
- visible_on: []
@@ -1,74 +0,0 @@
1
- ---
2
- #
3
- # site.data.navbar_absolute - Control top navigation bar using absolute links
4
- # for both internal and external resources. Useful when you build the
5
- # navigation bar for sites other than "www.centos.org" website and you want to
6
- # keep references to "www.centos.org."
7
- #
8
- - name: "Download"
9
- icon: "fas fa-download"
10
- link: "https://www.centos.org/download"
11
- menu: []
12
- visible_on: ["navbar"]
13
- - name: "About"
14
- icon: "fas fa-info-circle"
15
- link: "#"
16
- menu:
17
- - name: "About CentOS"
18
- link: "https://www.centos.org/about"
19
- - name: "Frequently Asked Questions (FAQs)"
20
- link: "https://wiki.centos.org/FAQ"
21
- - name: "Special Interest Groups (SIGs)"
22
- link: "https://wiki.centos.org/SpecialInterestGroups"
23
- - name: "CentOS Variants"
24
- link: "https://www.centos.org/variants"
25
- - name: "Governance"
26
- link: "https://www.centos.org/about/governance"
27
- visible_on: ["navbar", "footer"]
28
- - name: "Community"
29
- icon: "fas fa-users"
30
- link: "#"
31
- menu:
32
- - name: "Contribute"
33
- link: "https://wiki.centos.org/Contribute"
34
- icon: "fas fa-hands-helping"
35
- - name: "Forums"
36
- link: "https://www.centos.org/forums/"
37
- icon: "fas fa-comments"
38
- - name: "Mailing Lists"
39
- link: "https://wiki.centos.org/GettingHelp/ListInfo"
40
- icon: "fas fa-envelope"
41
- - name: "IRC"
42
- link: "https://wiki.centos.org/irc"
43
- icon: "fas fa-hashtag"
44
- - name: "Calendar & IRC Meeting List"
45
- link: "https://www.centos.org/community/calendar/"
46
- icon: "fas fa-calendar-alt"
47
- - name: "Planet"
48
- link: "http://planet.centos.org/"
49
- icon: "fas fa-newspaper"
50
- - name: "Submit Bug"
51
- link: "https://bugs.centos.org/"
52
- icon: "fas fa-bug"
53
- visible_on: ["navbar", "footer"]
54
- - name: "Documentation"
55
- icon: "fas fa-book"
56
- link: "#"
57
- menu:
58
- - name: "Wiki"
59
- link: "https://wiki.centos.org/"
60
- - name: "Manuals"
61
- link: "https://docs.centos.org/"
62
- - name: "GPG Key Info"
63
- link: "https://www.centos.org/keys"
64
- visible_on: ["navbar", "footer"]
65
- - name: "Help"
66
- icon: "fas fa-life-ring"
67
- link: "https://wiki.centos.org/Documentation?action=show&redirect=GettingHelp"
68
- menu: []
69
- visible_on: ["navbar"]
70
- - name: "Search"
71
- icon: "fas fa-search"
72
- link: "https://www.centos.org/search"
73
- menu: []
74
- visible_on: []
@@ -1,60 +0,0 @@
1
- ---
2
- #
3
- # site.data.base.navbar_component - Control top navigation bar using relative
4
- # links specific to jekyll-theme-centos-base website component. Not used inside
5
- # CentOS websites. Used in website component presentation only.
6
- #
7
-
8
- - name: "Layouts"
9
- icon: "fa-solid fa-layer-group"
10
- link: "/layouts/"
11
- menu:
12
- - name: "base/default.html"
13
- link: "/layouts/default/"
14
- visible_on: ["navbar", "footer"]
15
-
16
- - name: "Includes"
17
- icon: "fa-solid fa-arrows-turn-to-dots"
18
- link: "/includes/"
19
- menu:
20
- - name: "base/announcements.html"
21
- link: "/includes/announcements/"
22
- - name: "base/breadcrumbs.html"
23
- link: "/includes/breadcrumbs/"
24
- - name: "base/head.html"
25
- link: "/includes/head/"
26
- - name: "base/header.html"
27
- link: "/includes/header/"
28
- - name: "base/navbar.html"
29
- link: "/includes/navbar/"
30
- - name: "base/toc-accordion.html"
31
- link: "/includes/toc-accordion/"
32
- - name: "base/toc.html"
33
- link: "/includes/toc/"
34
- visible_on: ["navbar", "footer"]
35
-
36
- - name: "Sass"
37
- icon: "fa-brands fa-sass"
38
- link: "/sass/"
39
- menu:
40
- - name: "base/variables.scss"
41
- link: "/sass/variables"
42
- - name: "base/centos.scss"
43
- link: "/sass/centos"
44
- - name: "base/centos-lists.scss"
45
- link: "/sass/centos-lists"
46
- visible_on: ["navbar", "footer"]
47
-
48
- - name: "Data"
49
- icon: "fa-solid fa-file-code"
50
- link: "/data/"
51
- menu:
52
- - name: "site.data.base.identity"
53
- link: "/data/identity"
54
- - name: "site.data.base.navbar"
55
- link: "/data/navbar"
56
- - name: "site.data.base.navbar_absolute"
57
- link: "/data/navbar_absolute"
58
- - name: "site.data.base.navbar_component"
59
- link: "/data/navbar_component"
60
- visible_on: ["navbar", "footer"]
@@ -1,6 +0,0 @@
1
- {% for alert in page.with_announcements -%}
2
- <div class="alert alert-{{ alert.color | default: 'primary' }} alert-dismissible fade show shadow" role="alert">
3
- <i class="{{ alert.icon | default: 'fa-solid fa-bullhorn' }}"></i> <strong>{{ alert.title | default: "" }}</strong> {{ alert.content | default: "" }}
4
- <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
5
- </div>
6
- {% endfor -%}
@@ -1,13 +0,0 @@
1
- <nav aria-label="breadcrumb">
2
- <ol class="breadcrumb">
3
- {% assign crumbs = page.url | remove:'/index.html' | split: '/' %}
4
- <li class="breadcrumb-item"><a href="{{ site.baseurl }}/">Home</a></li>
5
- {% for crumb in crumbs offset: 1 %}
6
- {% if forloop.last %}
7
- <li class="breadcrumb-item active">{{ page.title }}</li>
8
- {% else %}
9
- <li class="breadcrumb-item"><a href="{{ site.baseurl }}{% assign crumb_limit = forloop.index | plus: 1 %}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' | replace:'without-plugin/','without-plugins/' }}{% endfor %}">{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}</a></li>
10
- {% endif %}
11
- {% endfor %}
12
- </ol>
13
- </nav>
@@ -1,61 +0,0 @@
1
- {% assign navbar = site.data[site.navbar_data_dirname][site.navbar_data_filename] %}
2
- <footer class="footer small bg-dark text-light mt-3">
3
- <div class="container">
4
- <div class="row bg-primary justify-content-between">
5
- {% assign sections = navbar | where: "visible_on", "footer" %}
6
- {% assign columns = sections.size %}
7
- {% case columns %}
8
- {% when 1 %}
9
- {% assign column_width = 12 %}
10
- {% when 2 %}
11
- {% assign column_width = 6 %}
12
- {% when 3 %}
13
- {% assign column_width = 4 %}
14
- {% when 4 %}
15
- {% assign column_width = 3 %}
16
- {% else %}
17
- {% assign column_width = 1 %}
18
- {% endcase %}
19
- {% for section in sections -%}
20
- <div class="col-sm-12 col-lg-{{ column_width }} my-3">
21
- <h6 class="fw-bold"><i class="{{ section.icon }}"></i> {{ section.name }}</h6>
22
- <ul class="nav flex-column">
23
- {% for item in section.menu -%}
24
- <li class="nav-item"><a href="{{ site.baseurl }}{{ item.link }}" class="link-light px-0">{{ item.name }}</a></li>
25
- {% endfor %}
26
- </ul>
27
- </div>
28
- {% endfor %}
29
- </div>
30
-
31
- <div class="row border-top border-secondary border-5">
32
- <div class="col-sm-12 col-lg-8">
33
- <h4 class="fw-bold pt-3">{{ site.title }}</h4>
34
- <p>{{ site.description }}</p>
35
- </div>
36
- <div class="col-sm-12 col-lg-4 pt-lg-3 d-flex justify-content-sm-start justify-content-lg-end">
37
- <ul class="nav list-unstyled">
38
- {% for item in site.data.base.footer.social -%}
39
- <li class="nav-item">
40
- <a class="btn btn-sm fs-5 link-primary" href="{{ site.baseurl }}{{ item.link }}" role="button" aria-label="{{ item.name }}" data-bs-placement="bottom" data-bs-title="{{ item.name }}"><i class="{{ item.icon }}"></i></a>
41
- </li>
42
- {% endfor %}
43
- </ul>
44
- </div>
45
- </div>
46
-
47
- <div class="row py-3">
48
- <div class="col">
49
- <span>Copyright &copy;</span>
50
- <span id="copyright_year"></span>
51
- <span>{{ site.data.base.footer.copyright.author }}</span>
52
- {% for item in site.data.base.footer.copyright.legals -%}
53
- <span class="border-start ms-2 ps-2">
54
- <a class="link-light" href="{{ site.baseurl }}{{ item.link }}">{{ item.text }}</a>
55
- </span>
56
- {% endfor %}
57
- </div>
58
- </div>
59
-
60
- </div>
61
- </footer>
@@ -1,17 +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" href="{{ site.baseurl }}/assets/icons/favicon-16.png" sizes="16x16" />
6
- <link rel="icon" href="{{ site.baseurl }}/assets/icons/favicon-32.png" sizes="32x32" />
7
- <link rel="icon" href="{{ site.baseurl }}/assets/icons/favicon.svg" sizes="any" />
8
- <link rel="apple-touch-icon" href="{{ site.baseurl }}/assets/icons/apple-touch-icon.png" sizes="180x180" />
9
- <link rel="manifest" href="{{ site.baseurl }}/site.webmanifest" />
10
- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:100,200,300,400,500,600,700,800,900" />
11
- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Overpass+Mono:100,200,300,400,500,600,700,800,900" />
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_datatables == true -%}
14
- <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/dataTables.bootstrap5.min.css">
15
- {% endif -%}
16
- <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/stylesheet.min.css" />
17
- </head>
@@ -1,17 +0,0 @@
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 base/announcements.html %}
7
- </div>
8
- </div>
9
- {% endif -%}
10
- <div class="row my-3 justify-content-center">
11
- <div class="col-sm-12 col-xl-8">
12
- <div class="display-4 fw-bold mb-3">{{ page.title }}</div>
13
- <div class="lead">{{ page.title_lead }}</div>
14
- </div>
15
- </div>
16
- </div>
17
- </div>
@@ -1,32 +0,0 @@
1
- {% assign navbar = site.data[site.navbar_data_dirname][site.navbar_data_filename] %}
2
- <header class="site-header sticky-top">
3
- <nav class="navbar navbar-expand-lg navbar-dark bg-dark shadow">
4
- <div class="container">
5
- <a class="navbar-brand pt-1" href="{{ site.baseurl }}/"><img role="img" src="{{ site.baseurl }}/{{ site.data.base.identity.logo.navbar }}" height="32" alt="{{ site.title }}" />{% if site.manifestation != "" %}<span class="manifestation border-start border-light ps-3 ms-3 py-2 fs-6">{{ site.manifestation }}</span>{% endif %}</a>
6
- <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
7
- <span class="navbar-toggler-icon"></span>
8
- </button>
9
- <div class="collapse navbar-collapse" id="navbarContent">
10
- <ul class="navbar-nav mr-auto">
11
- {% assign navitems = navbar | where: "visible_on", "navbar" -%}
12
- {% for navitem in navitems -%}
13
- {% if navitem.menu.size == 0 -%}
14
- <li class="nav-item">
15
- <a class="nav-link" role="presentation" href="{{ site.baseurl }}{{ navitem.link }}"><i class="{{ navitem.icon }}"></i> {{ navitem.name }}</a>
16
- </li>
17
- {% else -%}
18
- <li class="nav-item dropdown">
19
- <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown-{{ forloop.index }}" role="button" data-bs-toggle="dropdown" aria-expanded="false"><i class="{{ navitem.icon }}"></i> {{ navitem.name }}</a>
20
- <ul class="dropdown-menu dropdown-menu-dark shadow" aria-labelledby="navbarDropdown-{{ forloop.index }}">
21
- {% for dropdownitem in navitem.menu -%}
22
- <li><a class="dropdown-item" role="presentation" href="{{ site.baseurl }}{{ dropdownitem.link }}">{{ dropdownitem.name }}</a></li>
23
- {% endfor -%}
24
- </ul>
25
- </li>
26
- {% endif -%}
27
- {% endfor -%}
28
- </ul>
29
- </div>
30
- </div>
31
- </nav>
32
- </header>
@@ -1,70 +0,0 @@
1
- <!-- JQuery -->
2
- <script src="{{ site.baseurl }}/assets/js/jquery.min.js"></script>
3
-
4
- {% if page.with_datatables == true %}
5
- <!-- DataTables -->
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
- {% if page.with_clipboard == true %}
26
- <!-- Clipboard.JS -->
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
- <!-- Copyright Year -->
60
- <script>
61
- document.getElementById("copyright_year").innerHTML = new Date().getFullYear();
62
- </script>
63
-
64
- <!-- Bootstrap -->
65
- <script src="{{ site.baseurl }}/assets/js/bootstrap.bundle.min.js"></script>
66
- <script>
67
- // Initialize Tooltips
68
- const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]');
69
- const tooltipList = [...tooltipTriggerList].map((tooltipTriggerEl) => new bootstrap.Tooltip(tooltipTriggerEl));
70
- </script>
@@ -1,10 +0,0 @@
1
- <div class="accordion" id="pageTocAccordion">
2
- <div class="accordion-item shadow-sm">
3
- <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"><i class="fa-solid fa-bars"></i> <span class="mx-3">Table of Contents</span></button>
5
- </div>
6
- <div id="flush-collapseOne" class="accordion-collapse collapse" aria-labelledby="flush-headingOne" data-bs-parent="#pageTocAccordion">
7
- <div class="accordion-body">{% include base/toc.html html=content %}</div>
8
- </div>
9
- </div>
10
- </div>
@@ -1,99 +0,0 @@
1
- {% capture tocWorkspace %}
2
- {% comment %}
3
- Version 1.0.10
4
- https://github.com/allejo/jekyll-toc
5
-
6
- "...like all things liquid - where there's a will, and ~36 hours to spare, there's usually a/some way" ~jaybe
7
-
8
- Usage:
9
- {% include toc.html html=content sanitize=true class="inline_toc" id="my_toc" h_min=2 h_max=3 %}
10
-
11
- Parameters:
12
- * html (string) - the HTML of compiled markdown generated by kramdown in Jekyll
13
-
14
- Optional Parameters:
15
- * sanitize (bool) : false - when set to true, the headers will be stripped of any HTML in the TOC
16
- * class (string) : '' - a CSS class assigned to the TOC
17
- * id (string) : '' - an ID to assigned to the TOC
18
- * h_min (int) : 1 - the minimum TOC header level to use; any header lower than this value will be ignored
19
- * h_max (int) : 6 - the maximum TOC header level to use; any header greater than this value will be ignored
20
- * ordered (bool) : false - when set to true, an ordered list will be outputted instead of an unordered list
21
- * item_class (string) : '' - add custom class(es) for each list item; has support for '%level%' placeholder, which is the current heading level
22
- * baseurl (string) : '' - add a base url to the TOC links for when your TOC is on another page than the actual content
23
- * anchor_class (string) : '' - add custom class(es) for each anchor element
24
-
25
- Output:
26
- An ordered or unordered list representing the table of contents of a markdown block. This snippet will only
27
- generate the table of contents and will NOT output the markdown given to it
28
- {% endcomment %}
29
-
30
- {% capture my_toc %}{% endcapture %}
31
- {% assign orderedList = include.ordered | default: false %}
32
- {% assign minHeader = include.h_min | default: 1 %}
33
- {% assign maxHeader = include.h_max | default: 6 %}
34
- {% assign nodes = include.html | split: '<h' %}
35
- {% assign firstHeader = true %}
36
-
37
- {% capture listModifier %}{% if orderedList %}1.{% else %}-{% endif %}{% endcapture %}
38
-
39
- {% for node in nodes %}
40
- {% if node == "" %}
41
- {% continue %}
42
- {% endif %}
43
-
44
- {% assign headerLevel = node | replace: '"', '' | slice: 0, 1 | times: 1 %}
45
-
46
- {% if headerLevel < minHeader or headerLevel > maxHeader %}
47
- {% continue %}
48
- {% endif %}
49
-
50
- {% if firstHeader %}
51
- {% assign firstHeader = false %}
52
- {% assign minHeader = headerLevel %}
53
- {% endif %}
54
-
55
- {% assign indentAmount = headerLevel | minus: minHeader %}
56
- {% assign _workspace = node | split: '</h' %}
57
-
58
- {% assign _idWorkspace = _workspace[0] | split: 'id="' %}
59
- {% assign _idWorkspace = _idWorkspace[1] | split: '"' %}
60
- {% assign html_id = _idWorkspace[0] %}
61
-
62
- {% assign _classWorkspace = _workspace[0] | split: 'class="' %}
63
- {% assign _classWorkspace = _classWorkspace[1] | split: '"' %}
64
- {% assign html_class = _classWorkspace[0] %}
65
-
66
- {% if html_class contains "no_toc" %}
67
- {% continue %}
68
- {% endif %}
69
-
70
- {% capture _hAttrToStrip %}{{ _workspace[0] | split: '>' | first }}>{% endcapture %}
71
- {% assign header = _workspace[0] | replace: _hAttrToStrip, '' %}
72
-
73
- {% assign space = '' %}
74
- {% for i in (1..indentAmount) %}
75
- {% assign space = space | prepend: ' ' %}
76
- {% endfor %}
77
-
78
- {% if include.item_class and include.item_class != blank %}
79
- {% capture listItemClass %}{:.{{ include.item_class | replace: '%level%', headerLevel }}}{% endcapture %}
80
- {% endif %}
81
-
82
- {% capture heading_body %}{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}{% endcapture %}
83
- {% capture my_toc %}{{ my_toc }}
84
- {{ space }}{{ listModifier }} {{ listItemClass }} [{{ heading_body | replace: "|", "\|" }}]({% if include.baseurl %}{{ include.baseurl }}{% endif %}#{{ html_id }}){% if include.anchor_class %}{:.{{ include.anchor_class }}}{% endif %}{% endcapture %}
85
- {% endfor %}
86
-
87
- {% if include.class and include.class != blank %}
88
- {% capture my_toc %}{:.{{ include.class }}}
89
- {{ my_toc | lstrip }}{% endcapture %}
90
- {% endif %}
91
-
92
- {% if include.id %}
93
- {% capture my_toc %}{: #{{ include.id }}}
94
- {{ my_toc | lstrip }}{% endcapture %}
95
- {% endif %}{% endcapture %}
96
-
97
- {% if my_toc != "" %}
98
- {% assign tocWorkspace = '' %}{{ my_toc | markdownify | strip }}
99
- {% endif %}
@@ -1,31 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="{{ page.lang | default: 'en' }}">
3
- {% include base/head.html title=page.title -%}
4
-
5
- <body id="top">
6
- {% include base/navbar.html -%}
7
- <main>
8
- {% include base/header.html -%}
9
- <div class="container py-5">
10
- {% if page.with_breadcrumbs %}
11
- <div class="row justify-content-center">
12
- <div class="col-sm-12 col-xl-8">
13
- {% include base/breadcrumbs.html %}
14
- </div>
15
- </div>
16
- {% endif %}
17
- {% if page.with_toc %}
18
- <div class="row my-3 justify-content-center">
19
- <div class="col-sm-12 col-xl-8">{% include base/toc-accordion.html %}</div>
20
- </div>
21
- {% endif %}
22
- <div class="row my-5 justify-content-center">
23
- <div class="col-sm-12 col-xl-8">{{ content }}</div>
24
- </div>
25
- </div>
26
- </main>
27
-
28
- {% include base/footer.html %}
29
- {% include base/script.html %}
30
- </body>
31
- </html>
@@ -1,132 +0,0 @@
1
- /*
2
- * This file provides customization for lists.centos.org site. There is one id
3
- * selector per template. The id selector name and the template name are both
4
- * the same so you can correlate them.
5
- */
6
-
7
- .row > {
8
- hr {
9
- margin-top: 3em;
10
- }
11
- }
12
-
13
- #mmcfg {
14
- h2 {
15
- margin-top: 0;
16
- padding-top: 0.5rem;
17
-
18
- &:before {
19
- display: none;
20
- }
21
- }
22
- > table:nth-child(2) {
23
- > tbody:nth-child(1) {
24
- > tr {
25
- > td {
26
- padding: 0.5rem;
27
- }
28
- }
29
- > tr:nth-child(4) {
30
- > td {
31
- background-color: $dark;
32
- > strong {
33
- > font {
34
- font-size: 1rem;
35
- color: #fff;
36
- }
37
- }
38
- }
39
- }
40
- }
41
- }
42
- }
43
-
44
- #admlogin {
45
- h4 {
46
- margin-top: 0;
47
- padding-top: 0;
48
-
49
- &:before {
50
- display: none;
51
- }
52
- }
53
- }
54
-
55
- #archidxhead {
56
- ul > {
57
- ul {
58
- list-style-type: none;
59
- }
60
- }
61
- }
62
-
63
- #article {
64
- pre {
65
- overflow: hidden;
66
- max-height: none;
67
- font-size: 1rem;
68
- white-space: pre-wrap;
69
- }
70
- }
71
-
72
- #listinfo {
73
- h2 {
74
- margin-top: 1rem;
75
- padding-top: 1rem;
76
-
77
- &:before {
78
- display: none;
79
- }
80
- }
81
- }
82
-
83
- #options {
84
- h2,
85
- h4 {
86
- margin-top: 1rem;
87
- padding-top: 1rem;
88
- &:before {
89
- display: none;
90
- }
91
- }
92
-
93
- h3,
94
- h5 {
95
- margin-top: 0;
96
- padding-top: 0;
97
- &:before {
98
- display: none;
99
- }
100
- }
101
- }
102
-
103
- // -----------------------------------------------------------------------------
104
- // Forms
105
- // -----------------------------------------------------------------------------
106
- // NOTE: The form HTML elements are generated dynamically by mailman and
107
- // templates provide small control over them. maintainability harder. To
108
- // customize forms presentation, let's extend bootstrap classes for each one
109
- // used.
110
- // -----------------------------------------------------------------------------
111
- input {
112
- margin-bottom: 1rem;
113
- &[type="text"],
114
- &[type="password"] {
115
- @extend .form-control;
116
- }
117
- &[type="checkbox"],
118
- &[type="radio"] {
119
- @extend .form-check-input;
120
- }
121
- &[type="submit"] {
122
- @extend .btn, .btn-primary;
123
- }
124
- }
125
- textarea {
126
- margin-bottom: 1rem;
127
- @extend .form-control;
128
- }
129
- select {
130
- margin-bottom: 1rem;
131
- @extend .form-select;
132
- }
@@ -1,80 +0,0 @@
1
- // --------------------------------------------------------------------------------
2
- // Adjustments
3
- // --------------------------------------------------------------------------------
4
-
5
- main {
6
- // --------------------------------------------------------------------------------
7
- // Navbar and linked headings' correction.
8
- //
9
- // By default, when you access page headings from the page table of content
10
- // (toc) links, the heading is hidden behind the navbar. This workaround
11
- // fixes the linked headings visibility issue in the page.
12
- // --------------------------------------------------------------------------------
13
- h1,
14
- h2,
15
- h3,
16
- h4,
17
- h5,
18
- h6 {
19
- &::before {
20
- display: block;
21
- height: 6rem;
22
- margin-top: -6rem;
23
- visibility: hidden;
24
- content: "";
25
- }
26
- margin-top: 3rem;
27
- }
28
-
29
- // --------------------------------------------------------------------------------
30
- // Backgrounds
31
- // --------------------------------------------------------------------------------
32
- .bg-image {
33
- background-image: url("../img/centos-motif.png");
34
- background-size: cover;
35
- background-repeat: no-repeat;
36
- background-position: center;
37
- }
38
-
39
- .bg-light-radial-gradient {
40
- background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(248, 249, 250, 0) 100%);
41
- }
42
-
43
- // --------------------------------------------------------------------------------
44
- // DataTable
45
- // --------------------------------------------------------------------------------
46
- .dataTables_wrapper {
47
- .dataTables_filter {
48
- text-align: end;
49
- }
50
- .dataTables_length,
51
- .dataTables_filter {
52
- @extend .my-3;
53
- }
54
- .form-select,
55
- .form-control {
56
- width: auto;
57
- display: inline-block;
58
- }
59
- }
60
- }
61
-
62
- header {
63
- .navbar-brand {
64
- .manifestation {
65
- --bs-border-opacity: 0.5;
66
- }
67
- }
68
- }
69
-
70
- footer,
71
- .accordion-body {
72
- a {
73
- &:link {
74
- text-decoration: none;
75
- }
76
- &:hover {
77
- text-decoration: underline;
78
- }
79
- }
80
- }
@@ -1,24 +0,0 @@
1
- //
2
- // CentOS Branding
3
- //
4
- $centos-color-1: #a14f8c;
5
- $centos-color-2: #262577;
6
- $centos-color-3: #9ccd2a;
7
- $centos-color-4: #efa724;
8
- //
9
- // Bootstrap customization
10
- //
11
- $enable-rounded: true;
12
- $enable-negative-margins: true;
13
- $nav-pills-link-active-bg: $centos-color-1;
14
- $link-color: $centos-color-1;
15
- $primary: $centos-color-1;
16
- $secondary: $centos-color-4;
17
- $dark: #200735;
18
- $dropdown-dark-bg: $dark;
19
- $font-family-sans-serif: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
20
- $font-family-monospace: "Overpass Mono", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
21
- $line-height-base: 1.75;
22
- $headings-font-weight: 700;
23
- $breadcrumb-divider-color: #6c757d;
24
- $breadcrumb-divider: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8'><path d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='#{$breadcrumb-divider-color}'/></svg>");
@@ -1,6 +0,0 @@
1
- ---
2
- ---
3
-
4
- @import "base/variables";
5
- @import "bootstrap/bootstrap";
6
- @import "base/centos";