jekyll-theme-centos 2.52.0.beta.105 → 2.52.0.beta.106
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/_data/base/accordion_schema.yml +6 -0
- data/_data/base/announcement_schema.yml +1 -1
- data/_data/base/artwork_schema.yml +17 -3
- data/_data/base/bits_schema.yml +9 -4
- data/_data/base/breadcrumb_schema.yml +14 -0
- data/_data/base/breakingnews_schema.yml +1 -1
- data/_data/base/calendar_schema.yml +17 -2
- data/_data/base/card_schema.yml +2 -2
- data/_data/base/copyright_schema.yml +7 -17
- data/_data/base/copyvalue_schema.yml +4 -1
- data/_data/base/datatable_schema.yml +3 -3
- data/_data/base/download_schema.yml +42 -16
- data/_data/base/event_schema.yml +1 -1
- data/_data/base/footer_schema.yml +7 -6
- data/_data/base/highlight_schema.yml +7 -5
- data/_data/base/image_schema.yml +1 -1
- data/_data/base/link_schema.yml +13 -19
- data/_data/base/navbar_schema.yml +6 -0
- data/_data/base/preview_schema.yml +8 -4
- data/_data/base/project_schema.yml +4 -2
- data/_data/base/script_schema.yml +4 -4
- data/_data/base/shortcut_schema.yml +2 -2
- data/_data/base/social_schema.yml +2 -2
- data/_data/base/sponsors.yml +3 -2
- data/_data/base/sponsors_schema.yml +20 -0
- data/_data/base/title_schema.yml +14 -0
- data/_data/base/toc_schema.yml +16 -2
- data/_includes/base/accordion-item.html.liquid +11 -32
- data/_includes/base/accordion.html.liquid +3 -29
- data/_includes/base/announcement.html.liquid +8 -35
- data/_includes/base/artwork.html.liquid +5 -38
- data/_includes/base/backtotop.html.liquid +3 -42
- data/_includes/base/bits.html.liquid +26 -74
- data/_includes/base/breadcrumb.html.liquid +15 -49
- data/_includes/base/breakingnews.html.liquid +6 -43
- data/_includes/base/calendar-events.html.liquid +3 -37
- data/_includes/base/calendar-init.html.liquid +7 -63
- data/_includes/base/calendar.html.liquid +3 -34
- data/_includes/base/card.html.liquid +4 -44
- data/_includes/base/color-table.html.liquid +18 -4
- data/_includes/base/configuration_variables-default-cell.html.liquid +6 -50
- data/_includes/base/configuration_variables-nested.html.liquid +6 -7
- data/_includes/base/configuration_variables.html.liquid +9 -11
- data/_includes/base/content.html.liquid +7 -4
- data/_includes/base/copyright.html.liquid +8 -39
- data/_includes/base/copyvalue.html.liquid +3 -70
- data/_includes/base/datatable.html.liquid +4 -40
- data/_includes/base/download.html.liquid +12 -66
- data/_includes/base/download_architecture.html.liquid +29 -117
- data/_includes/base/download_commands.html.liquid +2 -14
- data/_includes/base/download_documentation.html.liquid +13 -47
- data/_includes/base/download_eol.html.liquid +5 -15
- data/_includes/base/download_filevalue.html.liquid +9 -49
- data/_includes/base/download_screenshots.html.liquid +10 -65
- data/_includes/base/download_sections.html.liquid +2 -19
- data/_includes/base/event.html.liquid +8 -63
- data/_includes/base/fontawesome.html.liquid +4 -38
- data/_includes/base/footer.html.liquid +9 -2
- data/_includes/base/head.html.liquid +6 -47
- data/_includes/base/highlight.html.liquid +4 -37
- data/_includes/base/image.html.liquid +5 -22
- data/_includes/base/link.html.liquid +38 -57
- data/_includes/base/locales.html.liquid +6 -26
- data/_includes/base/navbar.html.liquid +16 -45
- data/_includes/base/navindex.html.liquid +40 -111
- data/_includes/base/ogp.html.liquid +17 -83
- data/_includes/base/preview.html.liquid +18 -57
- data/_includes/base/project.html.liquid +4 -29
- data/_includes/base/shortcut.html.liquid +7 -37
- data/_includes/base/social.html.liquid +4 -42
- data/_includes/base/sponsors-cards.html.liquid +4 -55
- data/_includes/base/sponsors-carousel.html.liquid +11 -59
- data/_includes/base/sponsors-data.html.liquid +32 -0
- data/_includes/base/title.html.liquid +5 -42
- data/_includes/base/toc-generator.html.liquid +4 -0
- data/_includes/base/toc.html.liquid +28 -81
- data/_sass/base/_customization.scss +18 -0
- data/_sass/base/_preview.scss +5 -9
- data/assets/js/base/backtotop.js +3 -3
- data/assets/js/base/copyvalue.js +15 -11
- data/assets/js/base/datatable.js +6 -13
- data/assets/js/base/highlight.js +46 -31
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5bfd8865d28f302b876848d4880cead6737a6c5db6557860cb5ea4c6c5bd6b5a
|
|
4
|
+
data.tar.gz: 0652ce4df5cd1f375f6635a223349349c44e154b1b02eb282eeacd902e5c11e8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 59d8fbfb01363664e4f52d6e0406cd208d18ca171dabe5254986c4f675146631bc630bad7c0fd43e7213c53cf43d585e8b47bfae8185a29df3fdbd0eb086501f
|
|
7
|
+
data.tar.gz: cd55937ac323c309df3715c59c6dd81bab1c1d87d9b17bc4147b234b7ac0155cc731bc94a286df4c5a075446adb2d1ad2f9d373015c083ed412e3abb6a33f3bd
|
|
@@ -53,6 +53,12 @@ properties:
|
|
|
53
53
|
CSS classes applied to the title `<span>`, replacing the default
|
|
54
54
|
(e.g., `ms-1 fw-bold` for a bold title instead of the
|
|
55
55
|
regular-weight default).
|
|
56
|
+
header_class:
|
|
57
|
+
type: string
|
|
58
|
+
default: "h2"
|
|
59
|
+
description: >-
|
|
60
|
+
CSS classes applied to the `accordion-header` element. Pass `""`
|
|
61
|
+
to remove the heading style.
|
|
56
62
|
item_id:
|
|
57
63
|
type: string
|
|
58
64
|
default: ""
|
|
@@ -26,7 +26,7 @@ properties:
|
|
|
26
26
|
content:
|
|
27
27
|
type: string
|
|
28
28
|
default: ""
|
|
29
|
-
description: The main text content of the announcement. This field is required.
|
|
29
|
+
description: The main text content of the announcement. Accepts Markdown. This field is required.
|
|
30
30
|
color:
|
|
31
31
|
type: string
|
|
32
32
|
default: "primary"
|
|
@@ -6,10 +6,10 @@ type: object
|
|
|
6
6
|
properties:
|
|
7
7
|
with_artwork:
|
|
8
8
|
type: boolean
|
|
9
|
-
default:
|
|
9
|
+
default: false
|
|
10
10
|
description: >-
|
|
11
|
-
Enables or disables the Artwork component. Set to `true`
|
|
12
|
-
display the artwork; set to `false` to hide it. When enabled,
|
|
11
|
+
Enables or disables the Artwork component. Set to `true` to
|
|
12
|
+
display the artwork; set to `false` (default) to hide it. When enabled,
|
|
13
13
|
the related `with_artwork_data` property is used for configuration.
|
|
14
14
|
with_artwork_data:
|
|
15
15
|
type: object
|
|
@@ -45,4 +45,18 @@ properties:
|
|
|
45
45
|
description: >-
|
|
46
46
|
The text used as the `aria-label` on the artwork element, crucial
|
|
47
47
|
for accessibility and SEO.
|
|
48
|
+
row_class:
|
|
49
|
+
type: string
|
|
50
|
+
description: >-
|
|
51
|
+
Include parameter. CSS classes for the wrapping `div.row`. When
|
|
52
|
+
omitted, the content component's `row_class` default applies. The
|
|
53
|
+
content component passes its own `row_class` here, so every row
|
|
54
|
+
inside `<main>` shares the same spacing.
|
|
55
|
+
column_class:
|
|
56
|
+
type: string
|
|
57
|
+
description: >-
|
|
58
|
+
Include parameter. CSS classes for the column `div` inside the row.
|
|
59
|
+
When omitted, the content component's `col_class` default applies.
|
|
60
|
+
The content component passes its own `col_class` here, so every row
|
|
61
|
+
inside `<main>` shares the same column width.
|
|
48
62
|
additionalProperties: false
|
data/_data/base/bits_schema.yml
CHANGED
|
@@ -78,10 +78,15 @@ properties:
|
|
|
78
78
|
screenshot_alt:
|
|
79
79
|
type: string
|
|
80
80
|
default: ""
|
|
81
|
-
description:
|
|
81
|
+
description: >-
|
|
82
|
+
The alternative text for the `screenshot` image, for both upstream
|
|
83
|
+
and downstream Bits. When empty, falls back to the `screenshot`
|
|
84
|
+
file name.
|
|
82
85
|
description:
|
|
83
86
|
type: string
|
|
84
|
-
description:
|
|
87
|
+
description: >-
|
|
88
|
+
A concise description of the Bit, typically one or two sentences
|
|
89
|
+
long. Accepts Markdown.
|
|
85
90
|
description_class:
|
|
86
91
|
type: string
|
|
87
92
|
default: ""
|
|
@@ -122,7 +127,7 @@ properties:
|
|
|
122
127
|
default: "Bits produced upstream:"
|
|
123
128
|
description: >-
|
|
124
129
|
A descriptive message displayed before the Upstream Bits section.
|
|
125
|
-
Only relevant when `type` is set to `upstream`.
|
|
130
|
+
Accepts Markdown. Only relevant when `type` is set to `upstream`.
|
|
126
131
|
preamble_class:
|
|
127
132
|
type: string
|
|
128
133
|
default: "mb-3"
|
|
@@ -132,7 +137,7 @@ properties:
|
|
|
132
137
|
default: "Bits produced downstream:"
|
|
133
138
|
description: >-
|
|
134
139
|
A descriptive message displayed before the Downstream Bits section.
|
|
135
|
-
Only relevant when `type` is set to `upstream`.
|
|
140
|
+
Accepts Markdown. Only relevant when `type` is set to `upstream`.
|
|
136
141
|
finale_class:
|
|
137
142
|
type: string
|
|
138
143
|
default: "mb-3"
|
|
@@ -24,4 +24,18 @@ properties:
|
|
|
24
24
|
The `aria-label` attribute value for the breadcrumb `<nav>` element.
|
|
25
25
|
Screen readers use this label to identify the navigation landmark.
|
|
26
26
|
additionalProperties: false
|
|
27
|
+
row_class:
|
|
28
|
+
type: string
|
|
29
|
+
description: >-
|
|
30
|
+
Include parameter. CSS classes for the wrapping `div.row`. When
|
|
31
|
+
omitted, the content component's `row_class` default applies. The
|
|
32
|
+
content component passes its own `row_class` here, so every row
|
|
33
|
+
inside `<main>` shares the same spacing.
|
|
34
|
+
column_class:
|
|
35
|
+
type: string
|
|
36
|
+
description: >-
|
|
37
|
+
Include parameter. CSS classes for the column `div` inside the row.
|
|
38
|
+
When omitted, the content component's `col_class` default applies.
|
|
39
|
+
The content component passes its own `col_class` here, so every row
|
|
40
|
+
inside `<main>` shares the same column width.
|
|
27
41
|
additionalProperties: false
|
|
@@ -31,7 +31,7 @@ properties:
|
|
|
31
31
|
properties:
|
|
32
32
|
content:
|
|
33
33
|
type: string
|
|
34
|
-
description: The main text content of the breaking news message. This field is required.
|
|
34
|
+
description: The main text content of the breaking news message. Accepts Markdown. This field is required.
|
|
35
35
|
color:
|
|
36
36
|
type: string
|
|
37
37
|
default: primary
|
|
@@ -9,8 +9,8 @@ properties:
|
|
|
9
9
|
type: boolean
|
|
10
10
|
default: false
|
|
11
11
|
description: >-
|
|
12
|
-
Enables or disables the Event Calendar addon. Set to `true`
|
|
13
|
-
|
|
12
|
+
Enables or disables the Event Calendar addon. Set to `true` to load
|
|
13
|
+
the necessary CSS and JavaScript files; set to `false` (default) to
|
|
14
14
|
disable.
|
|
15
15
|
with_calendar_data:
|
|
16
16
|
type: object
|
|
@@ -155,4 +155,19 @@ properties:
|
|
|
155
155
|
- css_integrity
|
|
156
156
|
- script_integrity
|
|
157
157
|
additionalProperties: false
|
|
158
|
+
id:
|
|
159
|
+
type: string
|
|
160
|
+
default: centos-calendar
|
|
161
|
+
description: >-
|
|
162
|
+
Include parameter for `calendar-init.html.liquid`. The DOM id of the
|
|
163
|
+
calendar container. The events JSON script, rendered by
|
|
164
|
+
`calendar-events.html.liquid`, gets the id `<id>-events`. Give each
|
|
165
|
+
calendar a distinct `id` when a page shows more than one.
|
|
166
|
+
event_data:
|
|
167
|
+
type: array
|
|
168
|
+
description: >-
|
|
169
|
+
Include parameter for `calendar-init.html.liquid`. The events for
|
|
170
|
+
this calendar, in the same item shape as `with_calendar_data.events`.
|
|
171
|
+
Takes priority over `with_calendar_data.events` and the event
|
|
172
|
+
component's `with_event_data`.
|
|
158
173
|
additionalProperties: false
|
data/_data/base/card_schema.yml
CHANGED
|
@@ -62,7 +62,7 @@ properties:
|
|
|
62
62
|
type: string
|
|
63
63
|
default: "display-5 fw-bold mb-3"
|
|
64
64
|
description: >-
|
|
65
|
-
CSS classes applied to the name
|
|
65
|
+
CSS classes applied to the name `<p>` element
|
|
66
66
|
(e.g., `display-5 fw-bold mb-3`).
|
|
67
67
|
name_link:
|
|
68
68
|
type: string
|
|
@@ -118,7 +118,7 @@ properties:
|
|
|
118
118
|
type: string
|
|
119
119
|
default: "mb-3"
|
|
120
120
|
description: >-
|
|
121
|
-
CSS classes applied to the description
|
|
121
|
+
CSS classes applied to the description `<p>` element
|
|
122
122
|
(e.g., `mb-3`).
|
|
123
123
|
actions:
|
|
124
124
|
type: array
|
|
@@ -6,10 +6,10 @@ type: object
|
|
|
6
6
|
properties:
|
|
7
7
|
with_copyright:
|
|
8
8
|
type: boolean
|
|
9
|
-
default:
|
|
9
|
+
default: true
|
|
10
10
|
description: >-
|
|
11
11
|
Enables or disables the rendering of the copyright notice. Set to `true`
|
|
12
|
-
to display the copyright; set to `false`
|
|
12
|
+
(default) to display the copyright; set to `false` to hide it.
|
|
13
13
|
with_copyright_data:
|
|
14
14
|
type: object
|
|
15
15
|
description: >-
|
|
@@ -39,14 +39,6 @@ properties:
|
|
|
39
39
|
The URL for the legal document. Accepts absolute URLs, site-relative
|
|
40
40
|
paths, and anchor references (e.g., `https://example.org/legal`,
|
|
41
41
|
`/privacy/`, `#terms`).
|
|
42
|
-
color:
|
|
43
|
-
type: string
|
|
44
|
-
default: light
|
|
45
|
-
description: >-
|
|
46
|
-
The Bootstrap link color scheme (e.g., `light`, `primary`).
|
|
47
|
-
Substituted into `class`'s own default (see `class` below).
|
|
48
|
-
Has no effect when `class` is also set, because an explicit
|
|
49
|
-
`class` overrides the default entirely.
|
|
50
42
|
icon:
|
|
51
43
|
type: string
|
|
52
44
|
description: >-
|
|
@@ -67,14 +59,12 @@ properties:
|
|
|
67
59
|
(e.g., `menuitem`).
|
|
68
60
|
class:
|
|
69
61
|
type: string
|
|
70
|
-
default: "link link-
|
|
62
|
+
default: "link link-offset-2 link-offset-2-hover link-underline link-underline-opacity-0 link-underline-opacity-100-hover focus-ring"
|
|
71
63
|
description: >-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
unset) into this schema's own documented default (see
|
|
77
|
-
`default` above).
|
|
64
|
+
CSS classes for the legal link. Set it to replace the
|
|
65
|
+
default styling. The default has no color class: the
|
|
66
|
+
footer's dark color mode sets the link colors. Don't add a
|
|
67
|
+
separator here; the template draws one before each link.
|
|
78
68
|
required:
|
|
79
69
|
- name
|
|
80
70
|
additionalProperties: false
|
|
@@ -11,7 +11,10 @@ properties:
|
|
|
11
11
|
description: >-
|
|
12
12
|
Enables or disables the Copy Value component JavaScript functionality.
|
|
13
13
|
Set to `true` (default) to activate copy-to-clipboard features;
|
|
14
|
-
set to `false` to disable the script.
|
|
14
|
+
set to `false` to disable the script. The highlight, preview,
|
|
15
|
+
download, and color-table components add their own copy buttons
|
|
16
|
+
only when this is `true`; when it is `false`, they omit the button
|
|
17
|
+
and keep the rest of their output.
|
|
15
18
|
with_copyvalue_data:
|
|
16
19
|
type: object
|
|
17
20
|
description: >-
|
|
@@ -6,10 +6,10 @@ type: object
|
|
|
6
6
|
properties:
|
|
7
7
|
with_datatable:
|
|
8
8
|
type: boolean
|
|
9
|
-
default:
|
|
9
|
+
default: false
|
|
10
10
|
description: >-
|
|
11
|
-
Enables or disables the DataTables addon. Set to `true`
|
|
12
|
-
load the necessary CSS and JavaScript files; set to `false` to disable.
|
|
11
|
+
Enables or disables the DataTables addon. Set to `true` to
|
|
12
|
+
load the necessary CSS and JavaScript files; set to `false` (default) to disable.
|
|
13
13
|
with_datatable_data:
|
|
14
14
|
type: object
|
|
15
15
|
description: >-
|
|
@@ -154,12 +154,14 @@ properties:
|
|
|
154
154
|
string) for the `download` image above, distinct
|
|
155
155
|
from `checksum`, which links to the checksum file
|
|
156
156
|
itself rather than holding its value. Rendered as
|
|
157
|
-
the read-only
|
|
158
|
-
|
|
159
|
-
component)
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
157
|
+
the read-only text of the same input-group row as
|
|
158
|
+
`checksum`, with a copy button (via the copyvalue
|
|
159
|
+
component) when the page has `with_copyvalue` on,
|
|
160
|
+
so it can be pasted directly into a terminal to
|
|
161
|
+
compare against a locally computed checksum.
|
|
162
|
+
Without `with_copyvalue`, the row ends at the
|
|
163
|
+
read-only value. When empty but `checksum` is set,
|
|
164
|
+
the row still renders and its value falls back to
|
|
163
165
|
the `checksum` URL itself.
|
|
164
166
|
signature_value:
|
|
165
167
|
type: string
|
|
@@ -168,14 +170,15 @@ properties:
|
|
|
168
170
|
The GPG key fingerprint used to produce `signature`
|
|
169
171
|
above, distinct from `signature`, which links to the
|
|
170
172
|
detached signature file itself rather than holding a
|
|
171
|
-
copyable value. Rendered as the read-only
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
173
|
+
copyable value. Rendered as the read-only text of the
|
|
174
|
+
same input-group row as `signature`, with a copy
|
|
175
|
+
button (via the copyvalue component) when the page
|
|
176
|
+
has `with_copyvalue` on, the same pattern most
|
|
177
|
+
distros use to publish a signing key's fingerprint
|
|
178
|
+
for manual verification. Without `with_copyvalue`,
|
|
179
|
+
the row ends at the read-only value. When empty but
|
|
176
180
|
`signature` is set, the row still renders and its
|
|
177
|
-
|
|
178
|
-
itself.
|
|
181
|
+
value falls back to the `signature` URL itself.
|
|
179
182
|
mirrors:
|
|
180
183
|
type: object
|
|
181
184
|
default: {}
|
|
@@ -231,7 +234,7 @@ properties:
|
|
|
231
234
|
type: object
|
|
232
235
|
properties:
|
|
233
236
|
date: { type: string, default: "", description: "End-of-life date or milestone label, e.g. `31 May 2024`." }
|
|
234
|
-
description: { type: string, default: "", description: "Supporting text
|
|
237
|
+
description: { type: string, default: "", description: "Supporting text for this milestone. Accepts Markdown." }
|
|
235
238
|
additionalProperties: false
|
|
236
239
|
commands:
|
|
237
240
|
type: array
|
|
@@ -257,12 +260,35 @@ properties:
|
|
|
257
260
|
properties:
|
|
258
261
|
src: { type: string, default: "", description: "Bare filename, resolved against `image_base_path`." }
|
|
259
262
|
alt: { type: string, default: "", description: "Alternative text for the image." }
|
|
260
|
-
title: { type: string, default: "", description: "Caption heading overlaid on the slide. Empty hides the caption's heading." }
|
|
261
|
-
description: { type: string, default: "", description: "Caption body text overlaid on the slide. Empty hides the caption's body." }
|
|
263
|
+
title: { type: string, default: "", description: "Caption heading overlaid on the slide. Accepts Markdown. Empty hides the caption's heading." }
|
|
264
|
+
description: { type: string, default: "", description: "Caption body text overlaid on the slide. Accepts Markdown. Empty hides the caption's body." }
|
|
262
265
|
additionalProperties: false
|
|
263
266
|
additionalProperties: false
|
|
264
267
|
additionalProperties: false
|
|
265
268
|
required:
|
|
266
269
|
- title
|
|
267
270
|
additionalProperties: false
|
|
271
|
+
title:
|
|
272
|
+
type: string
|
|
273
|
+
default: ""
|
|
274
|
+
description: >-
|
|
275
|
+
Include parameter. Renders only the entry whose `title` matches this
|
|
276
|
+
value. Empty renders every entry.
|
|
277
|
+
id:
|
|
278
|
+
type: string
|
|
279
|
+
default: DownloadsCard-1
|
|
280
|
+
description: >-
|
|
281
|
+
Include parameter. Prefix for the HTML ids of each entry's release
|
|
282
|
+
tabs and sections. The entry's slugified `title` is appended, and the
|
|
283
|
+
result is lowercased.
|
|
284
|
+
with_title:
|
|
285
|
+
type: boolean
|
|
286
|
+
default: true
|
|
287
|
+
description: >-
|
|
288
|
+
Include parameter. Set to `false` to hide each entry's title heading.
|
|
289
|
+
with_description:
|
|
290
|
+
type: boolean
|
|
291
|
+
default: true
|
|
292
|
+
description: >-
|
|
293
|
+
Include parameter. Set to `false` to hide each entry's description.
|
|
268
294
|
additionalProperties: false
|
data/_data/base/event_schema.yml
CHANGED
|
@@ -7,11 +7,11 @@ type: object
|
|
|
7
7
|
properties:
|
|
8
8
|
with_footer:
|
|
9
9
|
type: boolean
|
|
10
|
-
default:
|
|
10
|
+
default: true
|
|
11
11
|
description: >-
|
|
12
|
-
Controls the visibility of the Footer component. Set to `true`
|
|
13
|
-
display the footer at the bottom of the page. Set to `false`
|
|
14
|
-
|
|
12
|
+
Controls the visibility of the Footer component. Set to `true` (default)
|
|
13
|
+
to display the footer at the bottom of the page. Set to `false` to hide
|
|
14
|
+
it entirely.
|
|
15
15
|
with_footer_data:
|
|
16
16
|
type: object
|
|
17
17
|
default: {}
|
|
@@ -24,8 +24,9 @@ properties:
|
|
|
24
24
|
type: string
|
|
25
25
|
default: "footer small bg-dark text-centos-purple-100 pt-5"
|
|
26
26
|
description: >-
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
Bootstrap classes for the `<footer>` element. The footer always
|
|
28
|
+
uses Bootstrap's dark color mode, which gives links light colors,
|
|
29
|
+
so keep a dark background class such as `bg-dark`.
|
|
29
30
|
brand_image:
|
|
30
31
|
type: string
|
|
31
32
|
default: "centos-whitelogo.svg"
|
|
@@ -3,11 +3,13 @@ description: >-
|
|
|
3
3
|
Schema for configuring the external Highlight.js library addon, used to
|
|
4
4
|
provide dynamic syntax highlighting for code blocks within the content.
|
|
5
5
|
Colors come from this site's own CentOS-palette theme
|
|
6
|
-
(_highlight-theme.scss), not a configurable CDN theme file.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
(_highlight-theme.scss), not a configurable CDN theme file. The code block
|
|
7
|
+
frame is handled separately, by base/highlight.js wrapping every code block
|
|
8
|
+
in the same frame and code row as base/preview.html.liquid — not by this
|
|
9
|
+
addon. A toolbar above the code row renders only when it has content: a
|
|
10
|
+
language label when the fence declares one, and a copy button when the page
|
|
11
|
+
has `with_copyvalue` on (see copyvalue_schema.yml). Without either, only the
|
|
12
|
+
framed code block shows.
|
|
11
13
|
type: object
|
|
12
14
|
properties:
|
|
13
15
|
with_highlight:
|
data/_data/base/image_schema.yml
CHANGED
|
@@ -24,7 +24,7 @@ properties:
|
|
|
24
24
|
type: string
|
|
25
25
|
description: >-
|
|
26
26
|
Caption text rendered inside a `<figcaption>` element below the
|
|
27
|
-
image. When not set, no caption is rendered.
|
|
27
|
+
image. Accepts Markdown. When not set, no caption is rendered.
|
|
28
28
|
extraclasses:
|
|
29
29
|
type: string
|
|
30
30
|
description: >-
|
data/_data/base/link_schema.yml
CHANGED
|
@@ -49,29 +49,23 @@ properties:
|
|
|
49
49
|
- _blank
|
|
50
50
|
class:
|
|
51
51
|
type: string
|
|
52
|
-
default: "link link-{color} link-offset-
|
|
53
|
-
description: >-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
only applies to plain links the decorator's post-processing pass
|
|
62
|
-
can reach; several `color`-driven call sites — `bits`, `card`,
|
|
63
|
-
`shortcut` — render via the layout, which the decorator
|
|
64
|
-
structurally never processes). Override this schema's default via
|
|
65
|
-
a site's own `_data/base/link_schema.yml` to change color-mode
|
|
66
|
-
styling site-wide, or pass `class` on an individual `{% include %}`
|
|
67
|
-
call to override just that one link.
|
|
52
|
+
default: "link link-{color} link-offset-2 link-offset-2-hover link-underline-{color} link-underline-opacity-0 link-underline-opacity-100-hover focus-ring"
|
|
53
|
+
description: >-
|
|
54
|
+
CSS classes for the link. Set it to replace the default styling,
|
|
55
|
+
for example with button classes (`btn btn-primary btn-lg`). When
|
|
56
|
+
you don't set it, the link copies the site's Markdown link
|
|
57
|
+
classes (`with_link_decorator_data.default_link_classes` in
|
|
58
|
+
`_config.yml`) and uses `color` for the text and underline, so
|
|
59
|
+
both kinds of links look the same. Sites without that setting
|
|
60
|
+
get this property's default, with `color` filled in.
|
|
68
61
|
role:
|
|
69
62
|
type: string
|
|
70
63
|
default: ""
|
|
71
64
|
description: >-
|
|
72
|
-
The ARIA role for the link element
|
|
73
|
-
|
|
74
|
-
|
|
65
|
+
The ARIA role for the link element. Leave it empty for links that
|
|
66
|
+
navigate to a page or section, including links styled with `.btn`
|
|
67
|
+
classes. Use `button` only for a link that triggers in-page behavior
|
|
68
|
+
instead of navigating, and prefer a native `<button>` element there.
|
|
75
69
|
aria_label:
|
|
76
70
|
type: string
|
|
77
71
|
default: ""
|
|
@@ -126,4 +126,10 @@ properties:
|
|
|
126
126
|
required:
|
|
127
127
|
- navitems # Navigation is critical for the navbar
|
|
128
128
|
additionalProperties: false
|
|
129
|
+
arialabel:
|
|
130
|
+
type: string
|
|
131
|
+
default: navbar
|
|
132
|
+
description: >-
|
|
133
|
+
Include parameter. The `aria-label` of the `<nav>` element, which
|
|
134
|
+
screen readers announce as the name of the navigation landmark.
|
|
129
135
|
additionalProperties: false
|
|
@@ -64,11 +64,14 @@ properties:
|
|
|
64
64
|
type: string
|
|
65
65
|
default: ""
|
|
66
66
|
description: >-
|
|
67
|
-
Extra CSS classes applied to the toolbar's copy
|
|
67
|
+
Extra CSS classes applied to the toolbar's copy `<button>`. Set
|
|
68
68
|
to `d-none` to hide the button without removing `code` (e.g., a
|
|
69
69
|
snippet that's intentionally not meant to be copied). The button
|
|
70
|
-
itself only renders when `code` is supplied
|
|
71
|
-
copy
|
|
70
|
+
itself only renders when `code` is supplied and the page has
|
|
71
|
+
`with_copyvalue` on — without `code` there is nothing to copy, and
|
|
72
|
+
without `with_copyvalue` there is no copy script to handle a click.
|
|
73
|
+
When the button does not render and `language` is empty, the
|
|
74
|
+
toolbar is skipped entirely.
|
|
72
75
|
code:
|
|
73
76
|
type: string
|
|
74
77
|
default: ""
|
|
@@ -77,7 +80,8 @@ properties:
|
|
|
77
80
|
Liquid's `escape` filter) before being placed inside `<code>` and
|
|
78
81
|
inside the copy button's `data-copy-value` attribute. When empty,
|
|
79
82
|
this row does not render, and the toolbar's copy button does not
|
|
80
|
-
render either.
|
|
83
|
+
render either. When set, the copy button still renders only when
|
|
84
|
+
the page has `with_copyvalue` on.
|
|
81
85
|
code_class:
|
|
82
86
|
type: string
|
|
83
87
|
default: "p-0 m-0"
|
|
@@ -110,8 +110,10 @@ properties:
|
|
|
110
110
|
description: Custom CSS classes applied to the container wrapping the action buttons list.
|
|
111
111
|
actions_btn_class:
|
|
112
112
|
type: string
|
|
113
|
-
default: btn text-nowrap m-1 btn-
|
|
114
|
-
description:
|
|
113
|
+
default: "btn text-nowrap m-1 btn-{color}"
|
|
114
|
+
description: >-
|
|
115
|
+
CSS classes applied to each action button. The card component
|
|
116
|
+
replaces `{color}` with its `color` value.
|
|
115
117
|
resources:
|
|
116
118
|
type: array
|
|
117
119
|
default: []
|
|
@@ -7,13 +7,13 @@ type: object
|
|
|
7
7
|
properties:
|
|
8
8
|
with_fontawesome:
|
|
9
9
|
type: boolean
|
|
10
|
-
default:
|
|
10
|
+
default: true
|
|
11
11
|
description: >-
|
|
12
12
|
When `true`, includes the Font Awesome JavaScript bundle before the
|
|
13
13
|
closing `</body>` tag to enable icon rendering across the page.
|
|
14
14
|
with_highlight:
|
|
15
15
|
type: boolean
|
|
16
|
-
default:
|
|
16
|
+
default: true
|
|
17
17
|
description: >-
|
|
18
18
|
When `true`, includes the Highlight.js JavaScript bundle and
|
|
19
19
|
initializes syntax highlighting for all code blocks on the page.
|
|
@@ -26,14 +26,14 @@ properties:
|
|
|
26
26
|
the `dataTable` CSS class.
|
|
27
27
|
with_backtotop:
|
|
28
28
|
type: boolean
|
|
29
|
-
default:
|
|
29
|
+
default: true
|
|
30
30
|
description: >-
|
|
31
31
|
When `true`, includes the back-to-top button script, which renders
|
|
32
32
|
a floating button that scrolls the page back to the top when
|
|
33
33
|
clicked.
|
|
34
34
|
with_copyvalue:
|
|
35
35
|
type: boolean
|
|
36
|
-
default:
|
|
36
|
+
default: true
|
|
37
37
|
description: >-
|
|
38
38
|
When `true`, includes the copy-value script, which attaches
|
|
39
39
|
clipboard copy functionality to elements that use the designated
|
|
@@ -6,10 +6,10 @@ type: object
|
|
|
6
6
|
properties:
|
|
7
7
|
with_shortcut:
|
|
8
8
|
type: boolean
|
|
9
|
-
default:
|
|
9
|
+
default: false
|
|
10
10
|
description: >-
|
|
11
11
|
Controls the visibility of the Shortcut component in the page footer.
|
|
12
|
-
Set to `true`
|
|
12
|
+
Set to `true` to display the component; set to `false` (default) to hide it.
|
|
13
13
|
When enabled, the component will load items where `footer` is included in
|
|
14
14
|
their `visible_on` property, either from global `navitems` or `with_shortcut_data`.
|
|
15
15
|
with_shortcut_data:
|
|
@@ -6,10 +6,10 @@ type: object
|
|
|
6
6
|
properties:
|
|
7
7
|
with_social:
|
|
8
8
|
type: boolean
|
|
9
|
-
default:
|
|
9
|
+
default: true
|
|
10
10
|
description: >-
|
|
11
11
|
Enables or disables the rendering of the social media icons component.
|
|
12
|
-
Set to `true` to display the icons; set to `false`
|
|
12
|
+
Set to `true` (default) to display the icons; set to `false` to hide them.
|
|
13
13
|
with_social_data:
|
|
14
14
|
type: object
|
|
15
15
|
default: {}
|
data/_data/base/sponsors.yml
CHANGED
|
@@ -3,8 +3,9 @@ title: Sponsors
|
|
|
3
3
|
icon: "fa-solid fa-hand-holding-heart"
|
|
4
4
|
message: |
|
|
5
5
|
CentOS would not be possible without the support of our sponsors. We would
|
|
6
|
-
like to thank the following product/service for being a CentOS sponsor.
|
|
7
|
-
|
|
6
|
+
like to thank the following product/service for being a CentOS sponsor.
|
|
7
|
+
closing_message: |
|
|
8
|
+
If you value our work, please consider [becoming a sponsor!](/sponsors)
|
|
8
9
|
members:
|
|
9
10
|
- name: sponsor-1
|
|
10
11
|
country: usa
|
|
@@ -27,6 +27,13 @@ properties:
|
|
|
27
27
|
type: string
|
|
28
28
|
default: ""
|
|
29
29
|
description: Introductory text rendered above the carousel, supports Markdown.
|
|
30
|
+
closing_message:
|
|
31
|
+
type: string
|
|
32
|
+
default: ""
|
|
33
|
+
description: >-
|
|
34
|
+
Closing text rendered below the carousel, supports Markdown. Use it
|
|
35
|
+
to invite visitors to act, e.g. to link to a page about becoming a
|
|
36
|
+
sponsor.
|
|
30
37
|
# NOTE: this default is hardcoded to match examples/jekyll/components/
|
|
31
38
|
# sponsors.md's current page.url (/components/sponsors/), not computed
|
|
32
39
|
# from it (YAML can't run Liquid). If that page is ever renamed or its
|
|
@@ -79,4 +86,17 @@ properties:
|
|
|
79
86
|
required:
|
|
80
87
|
- members
|
|
81
88
|
additionalProperties: false
|
|
89
|
+
id:
|
|
90
|
+
type: string
|
|
91
|
+
default: sponsorsCarousel
|
|
92
|
+
description: >-
|
|
93
|
+
Include parameter for `sponsors-carousel.html.liquid`. The DOM id of
|
|
94
|
+
the carousel wrapper. Give each carousel a distinct `id` when a page
|
|
95
|
+
shows more than one.
|
|
96
|
+
with_title:
|
|
97
|
+
type: boolean
|
|
98
|
+
default: true
|
|
99
|
+
description: >-
|
|
100
|
+
Include parameter for `sponsors-carousel.html.liquid`. Set to `false`
|
|
101
|
+
to hide the title, icon, and message above the carousel.
|
|
82
102
|
additionalProperties: false
|