jekyll-theme-centos 2.43.0 → 2.44.0

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: ed08f57a7acdf8ff35ac9eff556bc3473e7efb82e1eb8ea813516e3af19bf093
4
- data.tar.gz: ad8c332a06fd22c81f4c8759ae0732e437cf4dab4253680c4400a5ce883d6bdd
3
+ metadata.gz: 2d5be09942277b626781ad93820933bbf462536bb5961a1311a7150e71d19dfb
4
+ data.tar.gz: 0426044375a3e2d31eba8cf028601886f3b30d80c004a020f873869e15e8bea8
5
5
  SHA512:
6
- metadata.gz: 0b768baf097a9d51450bd621b014533612cee0133ce3ce485e41f4ff6fcaf658c33a13bd6d962aac06531b442d8caf05f27a172d40c602cc80c3faa32bfa6df8
7
- data.tar.gz: 07774a24892026498316d04b42aa9dbd2812bccf09927dae8324f76d644ef9fa3f26add54049d305028e5a88229b099be7478970e0d89fdd5c78374aec44e322
6
+ metadata.gz: 2db81c4c5e460cfaf4eb80afc9dd35f13f00b7d4a0c6722023d0c61558fe00d4fcfe6463ce54abff613ac04388befff91f09dd322cfa8d93fa220ab42434e025
7
+ data.tar.gz: 7e942b604897986d16ff295fe6fbcf9e6b94eef97fab87fa18e57cf384d36ddd8e6f94d170f2064f22276be36653441926299deaca98bddf307b91b443cca76a
@@ -1,13 +1,13 @@
1
1
  {% assign copyright = site.data[site.navbar_data_dirname]["copyright"] %}
2
2
  <div class="row my-3">
3
3
  <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 %}
4
+ <span>Copyright &copy;</span>
5
+ <span>{{ site.time | date: "%Y" }}</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 link-offset-3 link-underline-opacity-25 link-underline-opacity-100-hover link-underline-light" href="{{ item.link }}">{{ item.text }}</a>
10
+ </span>
11
+ {% endfor %}
12
12
  </div>
13
13
  </div>
@@ -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>
@@ -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
- }
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.44.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-30 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_0098cd54f9aafa134b0d6cff35203eae@noreply.gitlab.com
44
44
  executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []