jekyll-theme-centos 2.52.0.beta.108 → 2.52.1
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 +46 -21
- data/_data/base/heading_anchor_schema.yml +25 -17
- data/_data/base/link_schema.yml +1 -1
- data/_includes/base/breadcrumb.html.liquid +2 -2
- data/_includes/base/link.html.liquid +2 -2
- data/_includes/base/toc.html.liquid +1 -1
- 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: 1abca6bea8d9db19972ac965579f61a99a1e84dfbdc79f5d1745330cbd453e69
|
|
4
|
+
data.tar.gz: b9f48f2142e2205d4ff6ac9f4dd18cbda226cc5fcdbbc3f75da7de6fd8c7af19
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e7213f101a6e4ff471b0a7f71c5b86b9a79d33762bbe717b68c3840e28a7770f448aae56e9c401e80521715c462b5a12c33075fea6fd24812dd00e96e66ab9b5
|
|
7
|
+
data.tar.gz: 696ac4a2eb4cb7b0ef64ce8ce0634a7d500a52105c6cf5afc38d33d45791e28d7220b1bf072bb0155badfe62baeeb77df446f318aea755ee998a7e0a534eea9d
|
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
|
# ----------------------------------------------------------------
|
|
@@ -126,6 +117,33 @@ defaults:
|
|
|
126
117
|
with_copyvalue: true
|
|
127
118
|
with_datatable: false
|
|
128
119
|
|
|
120
|
+
# -------------------------------------------------------------------------------
|
|
121
|
+
# jekyll-l10n
|
|
122
|
+
# -------------------------------------------------------------------------------
|
|
123
|
+
# Settings that apply to the whole build. The plugin reads them only here, not
|
|
124
|
+
# from `defaults` or page front matter. Per-page settings are in
|
|
125
|
+
# `with_locales_data` above.
|
|
126
|
+
jekyll_l10n:
|
|
127
|
+
incremental: false
|
|
128
|
+
update_compendium: true
|
|
129
|
+
logging:
|
|
130
|
+
show_statistics: true
|
|
131
|
+
trace: false
|
|
132
|
+
translation:
|
|
133
|
+
# min_coverage: 90 # Fail the build when a locale is less translated (%)
|
|
134
|
+
libretranslate_enabled: false # Explicitly disabled for production
|
|
135
|
+
libretranslate_api_url: "http://localhost:5000"
|
|
136
|
+
libretranslate_source_locale: "en" # Source language for translation
|
|
137
|
+
libretranslate_format: "html" # Preserve HTML tags during translation
|
|
138
|
+
libretranslate_timeout: 300
|
|
139
|
+
libretranslate_batch_size: 50
|
|
140
|
+
libretranslate_concurrency: 4 # Requests sent at once (1 sends one at a time)
|
|
141
|
+
libretranslate_retry_attempts: 3
|
|
142
|
+
libretranslate_retry_delay: 2
|
|
143
|
+
libretranslate_stop_on_error: false
|
|
144
|
+
libretranslate_mark_fuzzy: false # true: machine translations wait for review
|
|
145
|
+
libretranslate_progress_interval: 10 # Log progress every N entries (0 to disable)
|
|
146
|
+
|
|
129
147
|
plugins:
|
|
130
148
|
- jekyll-feed
|
|
131
149
|
- jekyll-toc
|
|
@@ -168,22 +186,29 @@ permalink: /:path/:basename/
|
|
|
168
186
|
# -------------------------------------------------------------------------------
|
|
169
187
|
# Plugins
|
|
170
188
|
# -------------------------------------------------------------------------------
|
|
171
|
-
|
|
172
|
-
|
|
189
|
+
jekyll_link_decorator:
|
|
190
|
+
enabled: true
|
|
173
191
|
default_link_classes: "link link-offset-2 link-offset-2-hover link-underline link-underline-opacity-0 link-underline-opacity-100-hover focus-ring"
|
|
174
192
|
alert_link_classes: "alert-link focus-ring"
|
|
175
193
|
external_link_icon: true
|
|
176
194
|
external_link_icon_excluded_tags:
|
|
177
195
|
- img
|
|
196
|
+
heading_anchor:
|
|
197
|
+
enabled: true
|
|
198
|
+
icon: "heading-anchor-hash"
|
|
178
199
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
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
|
|
@@ -3,25 +3,33 @@ title: Heading Anchor Component Configuration
|
|
|
3
3
|
description: >
|
|
4
4
|
Configuration for the first-class heading anchor feature of jekyll-link-decorator.
|
|
5
5
|
Each heading (h1–h6) receives a permalink: an anchor with a hover/focus-revealed
|
|
6
|
-
glyph, linking to the heading itself.
|
|
6
|
+
glyph, linking to the heading itself. The plugin reads these settings from the
|
|
7
|
+
site's `_config.yml` only, under `jekyll_link_decorator.heading_anchor`.
|
|
7
8
|
type: object
|
|
8
9
|
properties:
|
|
9
|
-
|
|
10
|
-
type: boolean
|
|
11
|
-
description: Enable or disable automatic heading anchor injection.
|
|
12
|
-
default: true
|
|
13
|
-
with_heading_anchor_data:
|
|
10
|
+
jekyll_link_decorator:
|
|
14
11
|
type: object
|
|
15
|
-
description:
|
|
12
|
+
description: Site-wide jekyll-link-decorator settings in `_config.yml`.
|
|
16
13
|
properties:
|
|
17
|
-
|
|
18
|
-
type:
|
|
19
|
-
description:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
14
|
+
heading_anchor:
|
|
15
|
+
type: object
|
|
16
|
+
description: Heading anchor injection and appearance.
|
|
17
|
+
properties:
|
|
18
|
+
enabled:
|
|
19
|
+
type: boolean
|
|
20
|
+
description: >
|
|
21
|
+
Enable or disable automatic heading anchor injection. The plugin
|
|
22
|
+
leaves anchors off when this is absent; jekyll-theme-centos turns
|
|
23
|
+
them on in its bundled `_config.yml`.
|
|
24
|
+
default: false
|
|
25
|
+
icon:
|
|
26
|
+
type: string
|
|
27
|
+
description: >
|
|
28
|
+
CSS classes applied to the anchor's glyph element. Defaults to a plain
|
|
29
|
+
"#" character rendered via the .heading-anchor-hash class.
|
|
30
|
+
default: "heading-anchor-hash"
|
|
31
|
+
icon_size:
|
|
32
|
+
type: string
|
|
33
|
+
description: Font Awesome size modifier appended after the icon classes.
|
|
34
|
+
additionalProperties: false
|
|
27
35
|
additionalProperties: false
|
data/_data/base/link_schema.yml
CHANGED
|
@@ -54,7 +54,7 @@ properties:
|
|
|
54
54
|
CSS classes for the link. Set it to replace the default styling,
|
|
55
55
|
for example with button classes (`btn btn-primary btn-lg`). When
|
|
56
56
|
you don't set it, the link copies the site's Markdown link
|
|
57
|
-
classes (`
|
|
57
|
+
classes (`jekyll_link_decorator.default_link_classes` in
|
|
58
58
|
`_config.yml`) and uses `color` for the text and underline, so
|
|
59
59
|
both kinds of links look the same. Sites without that setting
|
|
60
60
|
get this property's default, with `color` filled in.
|
|
@@ -36,7 +36,7 @@ Schema: src/YAML/breadcrumb_schema.yml
|
|
|
36
36
|
<div class="{{ column_class }}">
|
|
37
37
|
<nav class="small" aria-label="{{ with_breadcrumb_data.arialabel | default: with_breadcrumb_schema.arialabel.default }}">
|
|
38
38
|
<ol class="breadcrumb mb-0">
|
|
39
|
-
<li class="breadcrumb-item"><a class="{{ site.
|
|
39
|
+
<li class="breadcrumb-item"><a class="{{ site.jekyll_link_decorator.default_link_classes }}" href="{{ site.baseurl }}{{ crumb_prefix }}/">Home</a></li>
|
|
40
40
|
|
|
41
41
|
{%- assign crumbs = breadcrumb_url | remove:'/index.html' | split: '/' %}
|
|
42
42
|
{%- for crumb in crumbs offset: 1 %}
|
|
@@ -44,7 +44,7 @@ Schema: src/YAML/breadcrumb_schema.yml
|
|
|
44
44
|
<li class="breadcrumb-item active">{{ page.title }}</li>
|
|
45
45
|
{%- else %}
|
|
46
46
|
{%- assign crumb_limit = forloop.index | plus: 1 %}
|
|
47
|
-
<li class="breadcrumb-item"><a class="{{ site.
|
|
47
|
+
<li class="breadcrumb-item"><a class="{{ site.jekyll_link_decorator.default_link_classes }}" href="{{ site.baseurl }}{{ crumb_prefix }}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' }}{% endfor %}">{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}</a></li>
|
|
48
48
|
{%- endif %}
|
|
49
49
|
{%- endfor %}
|
|
50
50
|
</ol>
|
|
@@ -48,9 +48,9 @@ Schema: src/YAML/link_schema.yml
|
|
|
48
48
|
|
|
49
49
|
{%- if class != nil -%}
|
|
50
50
|
{%- assign link_class = class %}
|
|
51
|
-
{%- elsif site.
|
|
51
|
+
{%- elsif site.jekyll_link_decorator.default_link_classes -%}
|
|
52
52
|
{%- comment %} Start from the site's Markdown link classes so both kinds of links look the same; `color` sets the text and underline color. {% endcomment %}
|
|
53
|
-
{%- assign link_class_tokens = site.
|
|
53
|
+
{%- assign link_class_tokens = site.jekyll_link_decorator.default_link_classes | split: " " %}
|
|
54
54
|
{%- assign link_class = "" %}
|
|
55
55
|
{%- assign link_color_emitted = false %}
|
|
56
56
|
{%- assign link_underline_emitted = false %}
|
|
@@ -14,7 +14,7 @@ Schema: src/YAML/toc_schema.yml
|
|
|
14
14
|
{%- assign class = with_toc_data.class | default: with_toc_schema["class"].default %}
|
|
15
15
|
{%- assign id = with_toc_data.id | default: with_toc_schema["id"].default %}
|
|
16
16
|
{%- assign item_class = with_toc_data.item_class | default: with_toc_schema["item_class"].default %}
|
|
17
|
-
{%- assign anchor_class = with_toc_data.anchor_class | default: with_toc_schema["anchor_class"].default | default: site.
|
|
17
|
+
{%- assign anchor_class = with_toc_data.anchor_class | default: with_toc_schema["anchor_class"].default | default: site.jekyll_link_decorator.default_link_classes %}
|
|
18
18
|
{%- assign h_min = with_toc_data.h_min | default: with_toc_schema["h_min"].default %}
|
|
19
19
|
{%- assign h_max = with_toc_data.h_max | default: with_toc_schema["h_max"].default %}
|
|
20
20
|
{%- assign ordered = with_toc_data.ordered | default: with_toc_schema["ordered"].default %}
|
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.1
|
|
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
|