jekyll-theme-centos 2.43.0 → 2.45.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: ed08f57a7acdf8ff35ac9eff556bc3473e7efb82e1eb8ea813516e3af19bf093
4
- data.tar.gz: ad8c332a06fd22c81f4c8759ae0732e437cf4dab4253680c4400a5ce883d6bdd
3
+ metadata.gz: 57b7a78e8931396ab9a8aae836c700c9b70d806e9be3645e9ca3431b65446e80
4
+ data.tar.gz: ca9144e14996f38b910fd022d45d3b43ba0e22428420be282b20c94d47a3f127
5
5
  SHA512:
6
- metadata.gz: 0b768baf097a9d51450bd621b014533612cee0133ce3ce485e41f4ff6fcaf658c33a13bd6d962aac06531b442d8caf05f27a172d40c602cc80c3faa32bfa6df8
7
- data.tar.gz: 07774a24892026498316d04b42aa9dbd2812bccf09927dae8324f76d644ef9fa3f26add54049d305028e5a88229b099be7478970e0d89fdd5c78374aec44e322
6
+ metadata.gz: 78c72102dff02ba9795827d524b833d231adc00075070830030272aec8ee6f95754c81530df96d8b901887da80e6a55d55968904cfe39bf20d840cd1a580e303
7
+ data.tar.gz: f3725342fb6830662a96c1e44887ba95dae9b6ccce82dd7ad538938a512c099d6a6f751fdc5b533983f75ce65f13e6724f0f1063d77ec09390aa7222de036afe
@@ -1,13 +1,17 @@
1
- {% assign copyright = site.data[site.navbar_data_dirname]["copyright"] %}
1
+ {% if site.data[site.component_data_dirname]["copyright"] %}
2
+ {% assign copyright = site.data[site.component_data_dirname]["copyright"] %}
3
+ {% else %}
4
+ {% assign copyright = site.data.base.copyright %}
5
+ {% endif %}
2
6
  <div class="row my-3">
3
7
  <div class="col">
4
- <span>Copyright &copy;</span>
5
- <span id="copyright_year"></span>
6
- <span>{{ copyright.author }}</span>
7
- {% for item in copyright.legals -%}
8
- <span class="border-start ms-2 ps-2">
9
- <a class="link-light" href="{{ item.link }}">{{ item.text }}</a>
10
- </span>
11
- {% endfor %}
8
+ <span>Copyright &copy;</span>
9
+ <span>{{ site.time | date: "%Y" }}</span>
10
+ <span>{{ copyright.author }}</span>
11
+ {% for item in copyright.legals -%}
12
+ <span class="border-start ms-2 ps-2">
13
+ <a class="link-light link-offset-3 link-underline-opacity-25 link-underline-opacity-100-hover link-underline-light" href="{{ item.link }}">{{ item.text }}</a>
14
+ </span>
15
+ {% endfor %}
12
16
  </div>
13
17
  </div>
@@ -1,4 +1,8 @@
1
- {% assign social_networks = site.data[site.navbar_data_dirname]["social"] %}
1
+ {% if site.data[site.component_data_dirname]["social"] %}
2
+ {% assign social_networks = site.data[site.component_data_dirname]["social"] %}
3
+ {% else %}
4
+ {% assign social_networks = site.data.base.social %}
5
+ {% endif %}
2
6
  <div class="row">
3
7
 
4
8
  {% if page.with_social != false %}
@@ -1,4 +1,8 @@
1
- {% assign navbar = site.data[site.navbar_data_dirname][site.navbar_data_filename] %}
1
+ {% if site.data[site.component_data_dirname][site.component_data_navbar] %}
2
+ {% assign navbar = site.data[site.component_data_dirname][site.component_data_navbar] %}
3
+ {% else %}
4
+ {% assign navbar = site.data.base.navbar %}
5
+ {% endif %}
2
6
  <nav class="navbar fixed-top navbar-expand-lg navbar-dark bg-dark bg-image shadow">
3
7
  <div class="container">
4
8
  <a class="navbar-brand" href="{{ site.url }}{{ site.baseurl }}/"><img src="{{ site.url }}{{ site.baseurl }}/assets/img/{{ page.with_logo }}" height="32" alt="{{ site.title }}" />{% if page.with_manifestation != "" %}<span class="manifestation border-start border-light ps-3 ms-3 py-2 fs-6">{{ page.with_manifestation }}</span>{% endif %}</a>
@@ -38,11 +38,6 @@
38
38
  });
39
39
  </script>
40
40
 
41
- <!-- Copyright Year -->
42
- <script>
43
- document.getElementById("copyright_year").innerHTML = new Date().getFullYear();
44
- </script>
45
-
46
41
  <!-- Bootstrap -->
47
42
  <script src="{{ site.url }}{{ site.baseurl }}/assets/js/bootstrap.bundle.min.js"></script>
48
43
  <script>
@@ -1,4 +1,8 @@
1
- {% assign navbar = site.data[site.navbar_data_dirname][site.navbar_data_filename] %}
1
+ {% if site.data[site.component_data_dirname][site.component_data_navbar] %}
2
+ {% assign navbar = site.data[site.component_data_dirname][site.component_data_navbar] %}
3
+ {% else %}
4
+ {% assign navbar = site.data.base.navbar %}
5
+ {% endif %}
2
6
  <div class="row bg-primary text-light">
3
7
  {% assign sections = navbar | where: "visible_on", "footer" %}
4
8
  {% assign columns = sections.size %}
@@ -4,7 +4,12 @@
4
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 fw-bold">Table of Contents</span></button>
5
5
  </div>
6
6
  <div id="flush-collapseOne" class="accordion-collapse collapse" aria-labelledby="flush-headingOne" data-bs-parent="#pageTocAccordion">
7
- <div class="accordion-body small">{% include base/toc.html html=content %}</div>
7
+ <div class="accordion-body small">
8
+ {% include base/toc.html
9
+ html=content
10
+ anchor_class="link-underline link-underline-opacity-0 link-underline-opacity-75-hover"
11
+ %}
12
+ </div>
8
13
  </div>
9
14
  </div>
10
15
  </div>
@@ -33,6 +33,8 @@
33
33
  {% assign maxHeader = include.h_max | default: 6 %}
34
34
  {% assign nodes = include.html | split: '<h' %}
35
35
  {% assign firstHeader = true %}
36
+ {% assign anchor_classes = include.anchor_class | split: " " %}
37
+
36
38
 
37
39
  {% capture listModifier %}{% if orderedList %}1.{% else %}-{% endif %}{% endcapture %}
38
40
 
@@ -79,20 +81,20 @@
79
81
  {% capture listItemClass %}{:.{{ include.item_class | replace: '%level%', headerLevel }}}{% endcapture %}
80
82
  {% endif %}
81
83
 
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 %}
84
+ {% capture heading_body %}{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}{% endcapture %}
85
+ {% capture my_toc %}{{ my_toc }}
86
+ {{ space }}{{ listModifier }} {{ listItemClass }} [{{ heading_body | replace: "|", "\|" }}]({% if include.baseurl %}{{ include.baseurl }}{% endif %}#{{ html_id }}){% if anchor_classes %}{:{% for anchor_class in anchor_classes %}.{{ anchor_class }} {% endfor -%}}{% endif %}{% endcapture %}
87
+ {% endfor %}
86
88
 
87
- {% if include.class and include.class != blank %}
88
- {% capture my_toc %}{:.{{ include.class }}}
89
+ {% if include.class and include.class != blank %}
90
+ {% capture my_toc %}{:.{{ include.class }}}
89
91
  {{ my_toc | lstrip }}{% endcapture %}
90
- {% endif %}
92
+ {% endif %}
91
93
 
92
- {% if include.id %}
93
- {% capture my_toc %}{: #{{ include.id }}}
94
+ {% if include.id %}
95
+ {% capture my_toc %}{: #{{ include.id }}}
94
96
  {{ my_toc | lstrip }}{% endcapture %}
95
- {% endif %}{% endcapture %}
97
+ {% endif %}{% endcapture %}
96
98
 
97
99
  {% if my_toc != "" %}
98
100
  {% assign tocWorkspace = '' %}{{ my_toc | markdownify | strip }}
@@ -106,7 +106,6 @@ main {
106
106
  scroll-margin-top: 80px;
107
107
  scroll-margin-bottom: 100px;
108
108
  }
109
-
110
109
  .content {
111
110
  // --------------------------------------------------------------------------------
112
111
  // Highlightjs-copy
@@ -123,7 +122,6 @@ main {
123
122
  --hljs-theme-background: var(--bs-body-color);
124
123
  }
125
124
  }
126
-
127
125
  // --------------------------------------------------------------------------------
128
126
  // Alerts
129
127
  // --------------------------------------------------------------------------------
@@ -152,7 +150,6 @@ main {
152
150
  background-image: $alert-success-icon;
153
151
  }
154
152
  }
155
-
156
153
  // --------------------------------------------------------------------------------
157
154
  // Tuneup first paragraph top margin when it is the first element inside
158
155
  // content.
@@ -160,7 +157,6 @@ main {
160
157
  > p:first-child {
161
158
  margin-top: 3rem;
162
159
  }
163
-
164
160
  // --------------------------------------------------------------------------------
165
161
  // Tables
166
162
  // --------------------------------------------------------------------------------
@@ -177,15 +173,3 @@ main {
177
173
  }
178
174
  }
179
175
  }
180
-
181
- footer,
182
- .accordion-body {
183
- a {
184
- &:link {
185
- text-decoration: none;
186
- }
187
- &:hover {
188
- text-decoration: underline;
189
- }
190
- }
191
- }
@@ -41,3 +41,5 @@ $alert-warning-icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/
41
41
  $alert-info-icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="1.8em" fill="rgba(#{to-rgb($info-text-emphasis)},1)" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"/></svg>');
42
42
  $alert-danger-icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="1.8em" fill="rgba(#{to-rgb($danger-text-emphasis)},1)" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"/></svg>');
43
43
  $alert-success-icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="1.8em" fill="rgba(#{to-rgb($success-text-emphasis)},1)" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"/></svg>');
44
+
45
+ $enable-negative-margins: true;
Binary file
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-centos
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.43.0
4
+ version: 2.45.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ReleaseBot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-28 00:00:00.000000000 Z
11
+ date: 2023-12-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -40,7 +40,7 @@ dependencies:
40
40
  version: 2.4.0
41
41
  description:
42
42
  email:
43
- - group_59038887_bot_cc756c4ce17d76a3e4987744111610b2@noreply.gitlab.com
43
+ - group_59038887_bot_a628c51d395bebfb92f35a6f24badeac@noreply.gitlab.com
44
44
  executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []