jekyll-theme-centos 2.52.0.beta.42 → 2.52.0.beta.43
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/card_schema.yml +146 -0
- data/_data/base/head_schema.yml +47 -0
- data/_data/base/image_schema.yml +34 -0
- data/_data/base/script_schema.yml +41 -0
- data/_data/base/toc_generator_schema.yml +102 -0
- data/_includes/base/breadcrumb.html.liquid +28 -7
- data/_includes/base/toc.html.liquid +1 -1
- metadata +6 -2
- data/_data/base/converter_link_schema.yml +0 -48
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 17d26a4241dea3e073d39b5aa6118c3120e18c40ae8de7b489a8cb59da60d36b
|
|
4
|
+
data.tar.gz: '008c0a8af8d8412d0550c1230b20ab6cbe40203cfc244872e5e9ce8034d3d9eb'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c2a09fe24532b538faf0ef0a1501518b331d56b08eb871e2bd92da67c737b169ceaf11c790bcb131842b4e2c245ad0b6d0ba03b83fd4f51a63a152e206aaa6b
|
|
7
|
+
data.tar.gz: cbb253f91f2cfd22bf919abc68d79e85be20169e4b3978ca3c33d7fead632a784ea270061409c891ec431380dc9c1bcad59df87c87d20a26fd85c40ded2b9d9e
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
title: Card Component Configuration
|
|
2
|
+
description: >-
|
|
3
|
+
Schema for configuring the card component. All parameters are passed
|
|
4
|
+
directly as include parameters when calling the component.
|
|
5
|
+
type: object
|
|
6
|
+
properties:
|
|
7
|
+
class:
|
|
8
|
+
type: string
|
|
9
|
+
default: "flex-column align-items-start mb-3"
|
|
10
|
+
description: >-
|
|
11
|
+
CSS classes applied to the outer card container `<div>`. Controls
|
|
12
|
+
layout direction and spacing (e.g., `flex-column align-items-start mb-3`).
|
|
13
|
+
color:
|
|
14
|
+
type: string
|
|
15
|
+
default: "primary"
|
|
16
|
+
description: >-
|
|
17
|
+
Bootstrap color scheme applied to the card. Used as the screenshot
|
|
18
|
+
background color and as the default button color suffix
|
|
19
|
+
(e.g., `primary`, `secondary`, `danger`).
|
|
20
|
+
image:
|
|
21
|
+
type: string
|
|
22
|
+
default: ""
|
|
23
|
+
description: >-
|
|
24
|
+
Filename of an image to display at the top of the card, relative to
|
|
25
|
+
`/assets/img/`. When empty, no image is rendered.
|
|
26
|
+
image_class:
|
|
27
|
+
type: string
|
|
28
|
+
default: "img-fluid mb-3 rounded"
|
|
29
|
+
description: >-
|
|
30
|
+
CSS classes applied to the image element (e.g., `img-fluid mb-3 rounded`).
|
|
31
|
+
image_style:
|
|
32
|
+
type: string
|
|
33
|
+
default: ""
|
|
34
|
+
description: >-
|
|
35
|
+
Inline CSS style string applied to the image element
|
|
36
|
+
(e.g., `max-height: 200px`). When empty, no inline style is added.
|
|
37
|
+
image_alt:
|
|
38
|
+
type: string
|
|
39
|
+
default: ""
|
|
40
|
+
description: >-
|
|
41
|
+
Alt text for the image. Defaults to the image filename when not set.
|
|
42
|
+
icon:
|
|
43
|
+
type: string
|
|
44
|
+
default: ""
|
|
45
|
+
description: >-
|
|
46
|
+
Font Awesome icon class to display in the card
|
|
47
|
+
(e.g., `fa-solid fa-star`). When empty, no icon is rendered.
|
|
48
|
+
icon_class:
|
|
49
|
+
type: string
|
|
50
|
+
default: "display-6 mb-3"
|
|
51
|
+
description: >-
|
|
52
|
+
CSS classes applied to the icon wrapper `<div>`
|
|
53
|
+
(e.g., `display-6 mb-3`).
|
|
54
|
+
name:
|
|
55
|
+
type: string
|
|
56
|
+
default: ""
|
|
57
|
+
description: >-
|
|
58
|
+
Title text displayed in the card. When empty, the name section is
|
|
59
|
+
not rendered.
|
|
60
|
+
name_class:
|
|
61
|
+
type: string
|
|
62
|
+
default: "display-5 fw-bold mb-3"
|
|
63
|
+
description: >-
|
|
64
|
+
CSS classes applied to the name wrapper `<div>`
|
|
65
|
+
(e.g., `display-5 fw-bold mb-3`).
|
|
66
|
+
screenshot:
|
|
67
|
+
type: string
|
|
68
|
+
default: ""
|
|
69
|
+
description: >-
|
|
70
|
+
Filename of a screenshot image shown inside a colored background box,
|
|
71
|
+
relative to `/assets/img/`. When empty, no screenshot is rendered.
|
|
72
|
+
screenshot_class:
|
|
73
|
+
type: string
|
|
74
|
+
default: "img-fluid"
|
|
75
|
+
description: >-
|
|
76
|
+
CSS classes applied to the screenshot image element
|
|
77
|
+
(e.g., `img-fluid`).
|
|
78
|
+
screenshot_style:
|
|
79
|
+
type: string
|
|
80
|
+
default: ""
|
|
81
|
+
description: >-
|
|
82
|
+
Inline CSS style string applied to the screenshot image element.
|
|
83
|
+
When empty, no inline style is added.
|
|
84
|
+
screenshot_alt:
|
|
85
|
+
type: string
|
|
86
|
+
default: ""
|
|
87
|
+
description: >-
|
|
88
|
+
Alt text for the screenshot image. Defaults to the screenshot
|
|
89
|
+
filename when not set.
|
|
90
|
+
description:
|
|
91
|
+
type: string
|
|
92
|
+
default: ""
|
|
93
|
+
description: >-
|
|
94
|
+
Body text displayed below the name. When empty, the description
|
|
95
|
+
section is not rendered.
|
|
96
|
+
description_class:
|
|
97
|
+
type: string
|
|
98
|
+
default: "mb-3"
|
|
99
|
+
description: >-
|
|
100
|
+
CSS classes applied to the description wrapper `<div>`
|
|
101
|
+
(e.g., `mb-3`).
|
|
102
|
+
actions:
|
|
103
|
+
type: array
|
|
104
|
+
default: ""
|
|
105
|
+
description: >-
|
|
106
|
+
List of action button definitions. Each item is rendered as a link
|
|
107
|
+
button using the `link` component. When empty or not provided, no
|
|
108
|
+
action buttons are rendered.
|
|
109
|
+
items:
|
|
110
|
+
type: object
|
|
111
|
+
properties:
|
|
112
|
+
name:
|
|
113
|
+
type: string
|
|
114
|
+
default: ""
|
|
115
|
+
description: Visible label text for the action button.
|
|
116
|
+
url:
|
|
117
|
+
type: string
|
|
118
|
+
default: ""
|
|
119
|
+
description: Target URL the action button links to.
|
|
120
|
+
icon:
|
|
121
|
+
type: string
|
|
122
|
+
default: ""
|
|
123
|
+
description: >-
|
|
124
|
+
Font Awesome icon class displayed alongside the button text
|
|
125
|
+
(e.g., `fa-solid fa-download`).
|
|
126
|
+
icon_position:
|
|
127
|
+
type: string
|
|
128
|
+
default: "start"
|
|
129
|
+
description: >-
|
|
130
|
+
Position of the icon relative to the button text. Use `start`
|
|
131
|
+
to place the icon before the text or `end` to place it after.
|
|
132
|
+
additionalProperties: false
|
|
133
|
+
actions_class:
|
|
134
|
+
type: string
|
|
135
|
+
default: ""
|
|
136
|
+
description: >-
|
|
137
|
+
CSS classes applied to the actions wrapper `<div>`. Use to align
|
|
138
|
+
or space the action buttons (e.g., `d-flex gap-2`).
|
|
139
|
+
actions_btn_class:
|
|
140
|
+
type: string
|
|
141
|
+
default: "btn m-1 btn-{color}"
|
|
142
|
+
description: >-
|
|
143
|
+
CSS classes applied to each action button. The `{color}` placeholder
|
|
144
|
+
is replaced at render time with the value of the `color` parameter
|
|
145
|
+
(e.g., `btn m-1 btn-primary`).
|
|
146
|
+
additionalProperties: false
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
title: Head Component Configuration
|
|
2
|
+
description: >-
|
|
3
|
+
Schema for configuring the head component. These properties are set in
|
|
4
|
+
the page front matter and are read automatically by the component when
|
|
5
|
+
it is included in the layout.
|
|
6
|
+
type: object
|
|
7
|
+
properties:
|
|
8
|
+
with_ogp:
|
|
9
|
+
type: boolean
|
|
10
|
+
default: false
|
|
11
|
+
description: >-
|
|
12
|
+
When `true`, includes the Open Graph Protocol (OGP) meta tags in
|
|
13
|
+
the `<head>` section to enable rich social media link previews.
|
|
14
|
+
with_fontawesome:
|
|
15
|
+
type: boolean
|
|
16
|
+
default: false
|
|
17
|
+
description: >-
|
|
18
|
+
When `true`, includes the Font Awesome CSS stylesheet in the
|
|
19
|
+
`<head>` section to enable icon rendering across the page.
|
|
20
|
+
with_breakingnews:
|
|
21
|
+
type: boolean
|
|
22
|
+
default: false
|
|
23
|
+
description: >-
|
|
24
|
+
When `true`, activates the breaking news banner and injects dynamic
|
|
25
|
+
CSS scroll-offset variables into the `<head>` section to compensate
|
|
26
|
+
for the banner height in anchor navigation.
|
|
27
|
+
with_breakingnews_data:
|
|
28
|
+
type: array
|
|
29
|
+
description: >-
|
|
30
|
+
Array of breaking news items to display. When not set, falls back
|
|
31
|
+
to `site.data.breakingnews` and then `site.data.base.breakingnews`.
|
|
32
|
+
Only used when `with_breakingnews` is `true`.
|
|
33
|
+
items:
|
|
34
|
+
type: object
|
|
35
|
+
with_highlight:
|
|
36
|
+
type: boolean
|
|
37
|
+
default: false
|
|
38
|
+
description: >-
|
|
39
|
+
When `true`, includes the Highlight.js CSS stylesheet in the
|
|
40
|
+
`<head>` section to enable syntax highlighting for code blocks.
|
|
41
|
+
with_datatable:
|
|
42
|
+
type: boolean
|
|
43
|
+
default: false
|
|
44
|
+
description: >-
|
|
45
|
+
When `true`, includes the DataTables CSS stylesheet in the `<head>`
|
|
46
|
+
section to enable interactive sortable and searchable tables.
|
|
47
|
+
additionalProperties: false
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
title: Image Component Configuration
|
|
2
|
+
description: >-
|
|
3
|
+
Schema for configuring the image component. Parameters are passed directly
|
|
4
|
+
as include parameters. The `file` and `alt` parameters are required.
|
|
5
|
+
type: object
|
|
6
|
+
properties:
|
|
7
|
+
file:
|
|
8
|
+
type: string
|
|
9
|
+
description: >-
|
|
10
|
+
Filename of the image to display, relative to `/assets/img/`.
|
|
11
|
+
This parameter is required.
|
|
12
|
+
alt:
|
|
13
|
+
type: string
|
|
14
|
+
description: >-
|
|
15
|
+
Alt text describing the image for accessibility. This parameter is
|
|
16
|
+
required. Also used as the basis for the generated `id` attribute
|
|
17
|
+
on the `<figure>` element (slugified).
|
|
18
|
+
link:
|
|
19
|
+
type: string
|
|
20
|
+
description: >-
|
|
21
|
+
URL to wrap the image in a hyperlink (`<a>` element). When not set,
|
|
22
|
+
the image is rendered without a link.
|
|
23
|
+
caption:
|
|
24
|
+
type: string
|
|
25
|
+
description: >-
|
|
26
|
+
Caption text rendered inside a `<figcaption>` element below the
|
|
27
|
+
image. When not set, no caption is rendered.
|
|
28
|
+
extraclasses:
|
|
29
|
+
type: string
|
|
30
|
+
description: >-
|
|
31
|
+
Additional CSS classes appended to the image element alongside the
|
|
32
|
+
default `figure-img img-fluid rounded` classes. When not set, only
|
|
33
|
+
the default classes apply.
|
|
34
|
+
additionalProperties: false
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
title: Script Component Configuration
|
|
2
|
+
description: >-
|
|
3
|
+
Schema for configuring the script component. These properties are set in
|
|
4
|
+
the page front matter and are read automatically by the component when
|
|
5
|
+
it is included in the layout before the closing `</body>` tag.
|
|
6
|
+
type: object
|
|
7
|
+
properties:
|
|
8
|
+
with_fontawesome:
|
|
9
|
+
type: boolean
|
|
10
|
+
default: false
|
|
11
|
+
description: >-
|
|
12
|
+
When `true`, includes the Font Awesome JavaScript bundle before the
|
|
13
|
+
closing `</body>` tag to enable icon rendering across the page.
|
|
14
|
+
with_highlight:
|
|
15
|
+
type: boolean
|
|
16
|
+
default: false
|
|
17
|
+
description: >-
|
|
18
|
+
When `true`, includes the Highlight.js JavaScript bundle and
|
|
19
|
+
initializes syntax highlighting for all code blocks on the page.
|
|
20
|
+
with_datatable:
|
|
21
|
+
type: boolean
|
|
22
|
+
default: false
|
|
23
|
+
description: >-
|
|
24
|
+
When `true`, includes the DataTables JavaScript bundle to enable
|
|
25
|
+
interactive sorting, searching, and pagination on tables that use
|
|
26
|
+
the `dataTable` CSS class.
|
|
27
|
+
with_backtotop:
|
|
28
|
+
type: boolean
|
|
29
|
+
default: false
|
|
30
|
+
description: >-
|
|
31
|
+
When `true`, includes the back-to-top button script, which renders
|
|
32
|
+
a floating button that scrolls the page back to the top when
|
|
33
|
+
clicked.
|
|
34
|
+
with_copyvalue:
|
|
35
|
+
type: boolean
|
|
36
|
+
default: false
|
|
37
|
+
description: >-
|
|
38
|
+
When `true`, includes the copy-value script, which attaches
|
|
39
|
+
clipboard copy functionality to elements that use the designated
|
|
40
|
+
copy-value CSS class.
|
|
41
|
+
additionalProperties: false
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
title: Table of Contents Generator Component Configuration
|
|
2
|
+
description: >-
|
|
3
|
+
Schema for configuring the toc_generator component. Parameters are passed
|
|
4
|
+
directly as include parameters. The `html` parameter is required.
|
|
5
|
+
type: object
|
|
6
|
+
properties:
|
|
7
|
+
html:
|
|
8
|
+
type: string
|
|
9
|
+
description: >-
|
|
10
|
+
The compiled HTML string of the page content to generate the table
|
|
11
|
+
of contents from. Typically set to `content` (the Jekyll page
|
|
12
|
+
content variable). This parameter is required.
|
|
13
|
+
h_min:
|
|
14
|
+
type: integer
|
|
15
|
+
default: 1
|
|
16
|
+
description: >-
|
|
17
|
+
Minimum heading level to include in the table of contents. Headings
|
|
18
|
+
below this level are ignored (e.g., set to `2` to exclude `<h1>`
|
|
19
|
+
headings).
|
|
20
|
+
h_max:
|
|
21
|
+
type: integer
|
|
22
|
+
default: 6
|
|
23
|
+
description: >-
|
|
24
|
+
Maximum heading level to include in the table of contents. Headings
|
|
25
|
+
above this level are ignored (e.g., set to `3` to exclude `<h4>`
|
|
26
|
+
through `<h6>` headings).
|
|
27
|
+
sanitize:
|
|
28
|
+
type: boolean
|
|
29
|
+
default: false
|
|
30
|
+
description: >-
|
|
31
|
+
When `true`, strips HTML from heading text in the TOC links so that
|
|
32
|
+
only plain text is rendered in each list item.
|
|
33
|
+
class:
|
|
34
|
+
type: string
|
|
35
|
+
default: ""
|
|
36
|
+
description: >-
|
|
37
|
+
CSS class(es) applied to the root list element (`<ul>` or `<ol>`).
|
|
38
|
+
Use to apply custom styling to the table of contents container.
|
|
39
|
+
id:
|
|
40
|
+
type: string
|
|
41
|
+
default: ""
|
|
42
|
+
description: >-
|
|
43
|
+
ID attribute applied to the root list element. Use to target the
|
|
44
|
+
table of contents with CSS or JavaScript.
|
|
45
|
+
ordered:
|
|
46
|
+
type: boolean
|
|
47
|
+
default: false
|
|
48
|
+
description: >-
|
|
49
|
+
When `true`, renders the table of contents as an ordered list
|
|
50
|
+
(`<ol>`). When `false` (default), an unordered list (`<ul>`) is
|
|
51
|
+
rendered.
|
|
52
|
+
flat_toc:
|
|
53
|
+
type: boolean
|
|
54
|
+
default: false
|
|
55
|
+
description: >-
|
|
56
|
+
When `true`, renders a flat single-level list regardless of heading
|
|
57
|
+
nesting. When `false` (default), the list reflects the heading
|
|
58
|
+
hierarchy.
|
|
59
|
+
item_class:
|
|
60
|
+
type: string
|
|
61
|
+
default: ""
|
|
62
|
+
description: >-
|
|
63
|
+
CSS class(es) applied to each `<li>` list item. Supports the
|
|
64
|
+
`%level%` placeholder, which is replaced with the current heading
|
|
65
|
+
level number at render time.
|
|
66
|
+
submenu_class:
|
|
67
|
+
type: string
|
|
68
|
+
default: ""
|
|
69
|
+
description: >-
|
|
70
|
+
CSS class(es) applied to each nested child list element. Supports
|
|
71
|
+
the `%level%` placeholder, which is replaced with the submenu
|
|
72
|
+
heading level number at render time.
|
|
73
|
+
base_url:
|
|
74
|
+
type: string
|
|
75
|
+
default: ""
|
|
76
|
+
description: >-
|
|
77
|
+
Base URL prepended to each anchor link in the TOC. Use when the
|
|
78
|
+
table of contents is rendered on a different page than the content
|
|
79
|
+
it references.
|
|
80
|
+
anchor_class:
|
|
81
|
+
type: string
|
|
82
|
+
default: ""
|
|
83
|
+
description: >-
|
|
84
|
+
CSS class(es) applied to each `<a>` anchor element inside the TOC
|
|
85
|
+
list items.
|
|
86
|
+
skip_no_ids:
|
|
87
|
+
type: boolean
|
|
88
|
+
default: false
|
|
89
|
+
description: >-
|
|
90
|
+
When `true`, headings that do not have an `id` attribute are skipped
|
|
91
|
+
and not included in the table of contents.
|
|
92
|
+
baseurl:
|
|
93
|
+
type: string
|
|
94
|
+
description: >-
|
|
95
|
+
Deprecated. Use `base_url` instead. When provided, a deprecation
|
|
96
|
+
warning comment is emitted in the HTML output.
|
|
97
|
+
skipNoIDs:
|
|
98
|
+
type: boolean
|
|
99
|
+
description: >-
|
|
100
|
+
Deprecated. Use `skip_no_ids` instead. When provided, a deprecation
|
|
101
|
+
warning comment is emitted in the HTML output.
|
|
102
|
+
additionalProperties: false
|
|
@@ -2,35 +2,56 @@
|
|
|
2
2
|
================================================================================
|
|
3
3
|
Template: Breadcrumb Navigation Component
|
|
4
4
|
Purpose: Renders hierarchical breadcrumb navigation showing page location
|
|
5
|
-
in the site's URL structure.
|
|
5
|
+
in the site's URL structure. Excludes locale codes from the visible trail.
|
|
6
6
|
================================================================================
|
|
7
7
|
|
|
8
8
|
Design Logic:
|
|
9
9
|
- Automatic breadcrumb generation from page URL (no data config)
|
|
10
10
|
- Hierarchical path visualization using URL splitting
|
|
11
|
+
- Skips locale codes (e.g., /es/, /fr/) from visible breadcrumb
|
|
11
12
|
- Home link always appears first as root
|
|
12
13
|
- Current page title as active final item (non-clickable)
|
|
13
|
-
- URL reconstruction
|
|
14
|
+
- URL reconstruction preserves locale prefix in links
|
|
14
15
|
|
|
15
16
|
Required Inputs:
|
|
16
|
-
- page.url: Current page URL path
|
|
17
|
+
- page.url: Current page URL path (may include locale prefix)
|
|
18
|
+
- page.original_url: URL without locale prefix (used for breadcrumb structure)
|
|
17
19
|
- page.title: Display text for active breadcrumb
|
|
18
20
|
|
|
19
21
|
Data Sources:
|
|
20
22
|
- site.baseurl: Base URL prefix
|
|
21
|
-
- site.
|
|
23
|
+
- site.with_link_decorator_data.default_link_classes: CSS classes
|
|
22
24
|
================================================================================
|
|
23
25
|
{% endcomment %}
|
|
24
26
|
|
|
27
|
+
{%- comment %} Use original_url if available (without locale), otherwise use full url {%- endcomment %}
|
|
28
|
+
{%- assign breadcrumb_url = page.original_url | default: page.url %}
|
|
29
|
+
|
|
30
|
+
{%- comment %} Use plugin-provided locale (set for localized pages, defaults to 'en') {%- endcomment %}
|
|
31
|
+
{%- assign detected_locale = page.locale | default: 'en' %}
|
|
32
|
+
|
|
25
33
|
<nav aria-label="{{ include.arialabel | default: 'breadcrumb' }}">
|
|
26
34
|
<ol class="breadcrumb mb-0">
|
|
27
|
-
|
|
28
|
-
{%-
|
|
35
|
+
{%- comment %} Home link - adjust for locale {%- endcomment %}
|
|
36
|
+
{%- if detected_locale == 'en' or detected_locale == '' %}
|
|
37
|
+
<li class="breadcrumb-item"><a class="{{ site.with_link_decorator_data.default_link_classes }}" href="{{ site.baseurl }}/">Home</a></li>
|
|
38
|
+
{%- else %}
|
|
39
|
+
<li class="breadcrumb-item"><a class="{{ site.with_link_decorator_data.default_link_classes }}" href="{{ site.baseurl }}/{{ detected_locale }}/">Home</a></li>
|
|
40
|
+
{%- endif %}
|
|
41
|
+
|
|
42
|
+
{%- assign crumbs = breadcrumb_url | remove:'/index.html' | split: '/' %}
|
|
29
43
|
{%- for crumb in crumbs offset: 1 %}
|
|
30
44
|
{%- if forloop.last %}
|
|
31
45
|
<li class="breadcrumb-item active">{{ page.title }}</li>
|
|
32
46
|
{%- else %}
|
|
33
|
-
|
|
47
|
+
{%- comment %} Build URL with locale prefix if not English {%- endcomment %}
|
|
48
|
+
{%- assign crumb_limit = forloop.index | plus: 1 %}
|
|
49
|
+
{%- if detected_locale == 'en' or detected_locale == '' %}
|
|
50
|
+
{%- assign crumb_prefix = '' %}
|
|
51
|
+
{%- else %}
|
|
52
|
+
{%- assign crumb_prefix = detected_locale | prepend: '/' %}
|
|
53
|
+
{%- endif %}
|
|
54
|
+
<li class="breadcrumb-item"><a class="{{ site.with_link_decorator_data.default_link_classes }}" href="{{ site.baseurl }}{{ crumb_prefix }}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' | replace:'without-plugin/','without-plugins/' }}{% endfor %}">{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}</a></li>
|
|
34
55
|
{%- endif %}
|
|
35
56
|
{%- endfor %}
|
|
36
57
|
</ol>
|
|
@@ -47,7 +47,7 @@ Data Source Hierarchy (in priority order):
|
|
|
47
47
|
{%- assign class = toc.class | default: toc_schema["class"].default %}
|
|
48
48
|
{%- assign id = toc.id | default: toc_schema["id"].default | default: "page-toc" %}
|
|
49
49
|
{%- assign item_class = toc.item_class | default: toc_schema["item_class"].default | default: "my-2" %}
|
|
50
|
-
{%- assign anchor_class = toc.anchor_class | default: toc_schema["anchor_class"].default | default: site.
|
|
50
|
+
{%- assign anchor_class = toc.anchor_class | default: toc_schema["anchor_class"].default | default: site.with_link_decorator_data.default_link_classes %}
|
|
51
51
|
{%- assign h_min = toc.h_min | default: toc_schema["h_min"].default %}
|
|
52
52
|
{%- assign h_max = toc.h_max | default: toc_schema["h_max"].default %}
|
|
53
53
|
{%- assign ordered = toc.ordered | default: 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.0.beta.
|
|
4
|
+
version: 2.52.0.beta.43
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ReleaseBot
|
|
@@ -287,18 +287,20 @@ files:
|
|
|
287
287
|
- _data/base/bits_schema.yml
|
|
288
288
|
- _data/base/breadcrumb_schema.yml
|
|
289
289
|
- _data/base/breakingnews_schema.yml
|
|
290
|
+
- _data/base/card_schema.yml
|
|
290
291
|
- _data/base/color.yml
|
|
291
292
|
- _data/base/color_schema.yml
|
|
292
293
|
- _data/base/content.yml
|
|
293
294
|
- _data/base/content_schema.yml
|
|
294
|
-
- _data/base/converter_link_schema.yml
|
|
295
295
|
- _data/base/copyright.yml
|
|
296
296
|
- _data/base/copyright_schema.yml
|
|
297
297
|
- _data/base/copyvalue_schema.yml
|
|
298
298
|
- _data/base/datatable_schema.yml
|
|
299
299
|
- _data/base/event_schema.yml
|
|
300
300
|
- _data/base/fontawesome_schema.yml
|
|
301
|
+
- _data/base/head_schema.yml
|
|
301
302
|
- _data/base/highlight_schema.yml
|
|
303
|
+
- _data/base/image_schema.yml
|
|
302
304
|
- _data/base/languages.yml
|
|
303
305
|
- _data/base/link_schema.yml
|
|
304
306
|
- _data/base/locales_schema.yml
|
|
@@ -308,10 +310,12 @@ files:
|
|
|
308
310
|
- _data/base/ogp_schema.yml
|
|
309
311
|
- _data/base/project.yml
|
|
310
312
|
- _data/base/project_schema.yml
|
|
313
|
+
- _data/base/script_schema.yml
|
|
311
314
|
- _data/base/shortcut_schema.yml
|
|
312
315
|
- _data/base/social.yml
|
|
313
316
|
- _data/base/social_schema.yml
|
|
314
317
|
- _data/base/title_schema.yml
|
|
318
|
+
- _data/base/toc_generator_schema.yml
|
|
315
319
|
- _data/base/toc_schema.yml
|
|
316
320
|
- _data/download/cards.yml
|
|
317
321
|
- _data/download/navbar.yml
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
title: Converter Link Plugin Configuration
|
|
2
|
-
description: >-
|
|
3
|
-
Schema for configuring the converter_link.rb Jekyll plugin, which
|
|
4
|
-
automatically applies standardized Bootstrap utility classes to link elements
|
|
5
|
-
generated from Markdown syntax, and manages external links with protective
|
|
6
|
-
attributes and icons.
|
|
7
|
-
type: object
|
|
8
|
-
properties:
|
|
9
|
-
enabled:
|
|
10
|
-
type: boolean
|
|
11
|
-
default: true
|
|
12
|
-
description: >-
|
|
13
|
-
Controls whether the plugin runs during Jekyll's build process.
|
|
14
|
-
Set to `true` (default) to apply link classes and external link features
|
|
15
|
-
automatically; set to `false` to disable automatic link styling and
|
|
16
|
-
use plain Markdown links. When disabled, the plugin logs:
|
|
17
|
-
"Disabled via configuration. Skipping custom link modification."
|
|
18
|
-
Useful for debugging or testing.
|
|
19
|
-
default_link_classes:
|
|
20
|
-
type: string
|
|
21
|
-
default: "link link-offset-3 link-offset-3-hover link-underline-primary link-underline-opacity-0 link-underline-opacity-100-hover"
|
|
22
|
-
description: >-
|
|
23
|
-
Bootstrap utility classes applied to all links outside of alert blocks.
|
|
24
|
-
Customize this to match your site's link styling preferences.
|
|
25
|
-
Each class is separated by spaces. The default creates an elegant hover
|
|
26
|
-
effect where the underline fades in as users interact with the link.
|
|
27
|
-
See [Bootstrap Link Utilities documentation](https://getbootstrap.com/docs/5.3/utilities/link/)
|
|
28
|
-
for class reference.
|
|
29
|
-
alert_link_classes:
|
|
30
|
-
type: string
|
|
31
|
-
default: "alert-link"
|
|
32
|
-
description: >-
|
|
33
|
-
Bootstrap classes applied to links within `.alert` paragraphs.
|
|
34
|
-
The `alert-link` class adapts link color to match the alert context
|
|
35
|
-
(primary, success, warning, danger, etc.). Supports multiple classes
|
|
36
|
-
separated by spaces. See [Bootstrap Alert Link Color documentation](https://getbootstrap.com/docs/5.3/components/alerts/#link-color)
|
|
37
|
-
for details.
|
|
38
|
-
external_link_icon:
|
|
39
|
-
type: boolean
|
|
40
|
-
default: true
|
|
41
|
-
description: >-
|
|
42
|
-
Controls whether external-link icons are added to cross-domain external
|
|
43
|
-
links. Set to `true` (default) to display Font Awesome external-link
|
|
44
|
-
icons (`fa-solid fa-external-link`) at the end of links pointing to
|
|
45
|
-
different domains. Set to `false` to disable external-link icon insertion.
|
|
46
|
-
required:
|
|
47
|
-
- enabled
|
|
48
|
-
additionalProperties: false
|