jekyll-theme-centos 2.52.0 → 2.52.2
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 +4 -4
- data/_config.yml +43 -18
- data/_includes/base/locales.html.liquid +5 -5
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a476faddc17f2bdfc90104bf163658dca413c62627cbf7a37efd8379cd311e86
|
|
4
|
+
data.tar.gz: 146e603228d4e1d869d5f03c075fcd0084b20622b78b6e3abf9ee7e3b726c1e3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5181502f7e04a6ec055bb849cd250d9635389430dcd939426019744b221ec0b42446b7f5b0045a6d0ddce1e507e06595bf3c87b8c8d956386a15558707f707fc
|
|
7
|
+
data.tar.gz: ba31af0d26066cd3227d6bc0dd43d31887e916408356414fa4377e09b47307dd778ee7506d1fd15dcbc828fe0a52d72e4a7f8b3898a90c04dfc17c10c88aefc3
|
data/_config.yml
CHANGED
|
@@ -79,35 +79,26 @@ defaults:
|
|
|
79
79
|
with_artwork: false
|
|
80
80
|
with_content: true
|
|
81
81
|
with_link: true
|
|
82
|
-
# Site localization through the jekyll-l10n plugin.
|
|
83
|
-
#
|
|
84
|
-
#
|
|
85
|
-
#
|
|
82
|
+
# Site localization through the jekyll-l10n plugin. Disabled by
|
|
83
|
+
# default; sites opt in by setting `with_locales: true`.
|
|
84
|
+
# Per-page jekyll-l10n settings. A page's front matter can override
|
|
85
|
+
# any of them. Settings for the whole build are under `jekyll_l10n`.
|
|
86
|
+
# Full key reference and defaults:
|
|
86
87
|
# https://gitlab.com/CentOS/artwork/centos-web/jekyll-l10n
|
|
87
88
|
with_locales: false
|
|
88
89
|
with_locales_data:
|
|
89
90
|
locales: ["es", "fr", "it", "pt", "de"]
|
|
90
91
|
locales_dir: "_locales"
|
|
91
92
|
extract_on_build: true
|
|
92
|
-
update_compendium: true
|
|
93
93
|
extraction:
|
|
94
94
|
translatable_attributes:
|
|
95
95
|
[title, alt, aria-label, placeholder, aria-description]
|
|
96
96
|
exclude_selectors:
|
|
97
97
|
[script, style, "code.language-plaintext", "pre code"]
|
|
98
98
|
logging:
|
|
99
|
-
show_statistics: true
|
|
100
99
|
debug: false
|
|
101
100
|
translation:
|
|
102
101
|
fallback: "english"
|
|
103
|
-
libretranslate_enabled: false # Explicit disabled for production
|
|
104
|
-
libretranslate_api_url: "http://localhost:5000"
|
|
105
|
-
libretranslate_api_key: ~
|
|
106
|
-
libretranslate_timeout: 300
|
|
107
|
-
libretranslate_batch_size: 50
|
|
108
|
-
libretranslate_retry_attempts: 3
|
|
109
|
-
libretranslate_retry_delay: 2
|
|
110
|
-
libretranslate_stop_on_error: true
|
|
111
102
|
# ----------------------------------------------------------------
|
|
112
103
|
# Footer
|
|
113
104
|
# ----------------------------------------------------------------
|
|
@@ -166,7 +157,7 @@ highlighter: none
|
|
|
166
157
|
permalink: /:path/:basename/
|
|
167
158
|
|
|
168
159
|
# -------------------------------------------------------------------------------
|
|
169
|
-
#
|
|
160
|
+
# jekyll-link-decorator
|
|
170
161
|
# -------------------------------------------------------------------------------
|
|
171
162
|
jekyll_link_decorator:
|
|
172
163
|
enabled: true
|
|
@@ -177,13 +168,47 @@ jekyll_link_decorator:
|
|
|
177
168
|
- img
|
|
178
169
|
heading_anchor:
|
|
179
170
|
enabled: true
|
|
171
|
+
icon: "heading-anchor-hash"
|
|
180
172
|
|
|
181
|
-
|
|
182
|
-
|
|
173
|
+
# -------------------------------------------------------------------------------
|
|
174
|
+
# jekyll-l10n
|
|
175
|
+
# -------------------------------------------------------------------------------
|
|
176
|
+
# Settings that apply to the whole build. The plugin reads them only here, not
|
|
177
|
+
# from `defaults` or page front matter. Per-page settings are in
|
|
178
|
+
# `with_locales_data` above.
|
|
179
|
+
jekyll_l10n:
|
|
180
|
+
incremental: false
|
|
181
|
+
update_compendium: true
|
|
182
|
+
logging:
|
|
183
|
+
show_statistics: true
|
|
184
|
+
trace: false
|
|
185
|
+
translation:
|
|
186
|
+
# min_coverage: 90 # Fail the build when a locale is less translated (%)
|
|
187
|
+
libretranslate_enabled: false # Explicitly disabled for production
|
|
188
|
+
libretranslate_api_url: "http://localhost:5000"
|
|
189
|
+
libretranslate_source_locale: "en" # Source language for translation
|
|
190
|
+
libretranslate_format: "html" # Preserve HTML tags during translation
|
|
191
|
+
libretranslate_timeout: 300
|
|
192
|
+
libretranslate_batch_size: 50
|
|
193
|
+
libretranslate_concurrency: 4 # Requests sent at once (1 sends one at a time)
|
|
194
|
+
libretranslate_retry_attempts: 3
|
|
195
|
+
libretranslate_retry_delay: 2
|
|
196
|
+
libretranslate_stop_on_error: false
|
|
197
|
+
libretranslate_mark_fuzzy: false # true: machine translations wait for review
|
|
198
|
+
libretranslate_progress_interval: 10 # Log progress every N entries (0 to disable)
|
|
199
|
+
|
|
200
|
+
# -------------------------------------------------------------------------------
|
|
201
|
+
# jekyll-minify
|
|
202
|
+
# -------------------------------------------------------------------------------
|
|
203
|
+
# Settings that apply to the whole build. Full key reference and defaults:
|
|
204
|
+
# https://gitlab.com/CentOS/artwork/centos-web/jekyll-minify
|
|
205
|
+
jekyll_minify:
|
|
206
|
+
enabled: true
|
|
183
207
|
keep_html_and_head_opening_tags: true # preserve <html> and <head> tags
|
|
184
208
|
keep_closing_tags: true # preserve optional closing tags
|
|
185
209
|
minify_css: true # minify inline CSS
|
|
186
210
|
minify_js: true # minify inline JavaScript
|
|
187
211
|
remove_bangs: true # remove <!-- !...> comments
|
|
188
212
|
remove_processing_instructions: true # remove <?...?> instructions
|
|
189
|
-
|
|
213
|
+
allow_noncompliant_unquoted_attribute_values: false # W3C compliance
|
|
214
|
+
keep_input_type_text_attr: true # keep type="text" for HTML validators
|
|
@@ -15,15 +15,15 @@ Requires: jekyll-l10n plugin (locale_menu filter)
|
|
|
15
15
|
{%- assign current_item = menu | where: "current", true | first %}
|
|
16
16
|
|
|
17
17
|
<p class="mb-2">Change page language:</p>
|
|
18
|
-
{%- comment %}
|
|
18
|
+
{%- comment %} strategy "fixed" positions the menu against the viewport so the footer container's overflow-hidden can't clip it. {% endcomment %}
|
|
19
19
|
<div class="dropdown mb-4">
|
|
20
|
-
<button class="btn btn-
|
|
20
|
+
<button class="btn btn-outline-primary dropdown-toggle" type="button" data-bs-toggle="dropdown" data-bs-popper-config='{"strategy":"fixed"}' aria-expanded="false" aria-label="Languages">
|
|
21
21
|
<i class="fa-solid fa-language me-1"></i> {{ current_item.name }}
|
|
22
22
|
</button>
|
|
23
|
-
<ul class="dropdown-menu">
|
|
23
|
+
<ul class="dropdown-menu dropdown-menu-dark shadow">
|
|
24
24
|
{%- for item in menu %}
|
|
25
|
-
<li
|
|
26
|
-
<a class="dropdown-item{% if item.current %} active{% endif %}" href="{{ site.baseurl }}{{ item.url }}"{% if item.current %} aria-current="true"{% endif %}>
|
|
25
|
+
<li>
|
|
26
|
+
<a class="dropdown-item focus-ring{% if item.current %} active{% endif %}" href="{{ site.baseurl }}{{ item.url }}"{% if item.current %} aria-current="true"{% endif %}>
|
|
27
27
|
{{ item.name }}{% if item.current %} <i class="fa-solid fa-check ms-3"></i>{% endif %}
|
|
28
28
|
</a>
|
|
29
29
|
</li>
|
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.52.
|
|
4
|
+
version: 2.52.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alain Reguera Delgado
|
|
@@ -63,42 +63,42 @@ dependencies:
|
|
|
63
63
|
requirements:
|
|
64
64
|
- - ">="
|
|
65
65
|
- !ruby/object:Gem::Version
|
|
66
|
-
version: '
|
|
66
|
+
version: '3.0'
|
|
67
67
|
type: :runtime
|
|
68
68
|
prerelease: false
|
|
69
69
|
version_requirements: !ruby/object:Gem::Requirement
|
|
70
70
|
requirements:
|
|
71
71
|
- - ">="
|
|
72
72
|
- !ruby/object:Gem::Version
|
|
73
|
-
version: '
|
|
73
|
+
version: '3.0'
|
|
74
74
|
- !ruby/object:Gem::Dependency
|
|
75
75
|
name: jekyll-link-decorator
|
|
76
76
|
requirement: !ruby/object:Gem::Requirement
|
|
77
77
|
requirements:
|
|
78
78
|
- - ">="
|
|
79
79
|
- !ruby/object:Gem::Version
|
|
80
|
-
version: '
|
|
80
|
+
version: '2.0'
|
|
81
81
|
type: :runtime
|
|
82
82
|
prerelease: false
|
|
83
83
|
version_requirements: !ruby/object:Gem::Requirement
|
|
84
84
|
requirements:
|
|
85
85
|
- - ">="
|
|
86
86
|
- !ruby/object:Gem::Version
|
|
87
|
-
version: '
|
|
87
|
+
version: '2.0'
|
|
88
88
|
- !ruby/object:Gem::Dependency
|
|
89
89
|
name: jekyll-minify
|
|
90
90
|
requirement: !ruby/object:Gem::Requirement
|
|
91
91
|
requirements:
|
|
92
92
|
- - ">="
|
|
93
93
|
- !ruby/object:Gem::Version
|
|
94
|
-
version: '
|
|
94
|
+
version: '2.0'
|
|
95
95
|
type: :runtime
|
|
96
96
|
prerelease: false
|
|
97
97
|
version_requirements: !ruby/object:Gem::Requirement
|
|
98
98
|
requirements:
|
|
99
99
|
- - ">="
|
|
100
100
|
- !ruby/object:Gem::Version
|
|
101
|
-
version: '
|
|
101
|
+
version: '2.0'
|
|
102
102
|
- !ruby/object:Gem::Dependency
|
|
103
103
|
name: jekyll-toc
|
|
104
104
|
requirement: !ruby/object:Gem::Requirement
|