jekyll-theme-centos 2.52.0.beta.52 → 2.52.0.beta.53

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.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/_data/base/bits_schema.yml +5 -4
  3. data/_data/base/content_schema.yml +1 -1
  4. data/_data/base/footer.yml +9 -0
  5. data/_data/base/footer_schema.yml +55 -0
  6. data/_data/base/heading_anchor.yml +4 -0
  7. data/_data/base/heading_anchor_schema.yml +37 -0
  8. data/_data/base/link_schema.yml +101 -67
  9. data/_data/base/locales_schema.yml +1 -1
  10. data/_data/base/project_schema.yml +8 -4
  11. data/_data/base/title_schema.yml +1 -1
  12. data/_data/base/toc_schema.yml +16 -2
  13. data/_includes/base/announcement.html.liquid +19 -7
  14. data/_includes/base/artwork.html.liquid +18 -6
  15. data/_includes/base/backtotop.html.liquid +20 -6
  16. data/_includes/base/bits.html.liquid +31 -18
  17. data/_includes/base/breadcrumb.html.liquid +7 -1
  18. data/_includes/base/breakingnews.html.liquid +19 -7
  19. data/_includes/base/card.html.liquid +43 -29
  20. data/_includes/base/configuration-variables-nested.html.liquid +1 -1
  21. data/_includes/base/configuration-variables.html.liquid +3 -3
  22. data/_includes/base/copyright.html.liquid +18 -6
  23. data/_includes/base/copyvalue.html.liquid +19 -5
  24. data/_includes/base/datatable.html.liquid +20 -6
  25. data/_includes/base/event.html.liquid +33 -21
  26. data/_includes/base/fontawesome.html.liquid +21 -7
  27. data/_includes/base/footer.html.liquid +36 -29
  28. data/_includes/base/head.html.liquid +60 -68
  29. data/_includes/base/heading_anchor.html.liquid +62 -0
  30. data/_includes/base/highlight.html.liquid +19 -5
  31. data/_includes/base/link.html.liquid +47 -53
  32. data/_includes/base/locales.html.liquid +41 -30
  33. data/_includes/base/navbar.html.liquid +22 -12
  34. data/_includes/base/navindex.html.liquid +14 -2
  35. data/_includes/base/ogp.html.liquid +89 -75
  36. data/_includes/base/project.html.liquid +34 -22
  37. data/_includes/base/script.html.liquid +7 -19
  38. data/_includes/base/shortcut.html.liquid +32 -24
  39. data/_includes/base/social.html.liquid +33 -23
  40. data/_includes/base/sponsors-cards.html.liquid +17 -6
  41. data/_includes/base/sponsors-carousel.html.liquid +21 -8
  42. data/_includes/base/title.html.liquid +21 -10
  43. data/_includes/base/toc.html.liquid +2 -2
  44. data/_layouts/base/default.html +8 -8
  45. data/_sass/base/_customization.scss +47 -0
  46. data/assets/img/base/page-layout-default.png +0 -0
  47. data/assets/img/base/page-layout-default.svg +878 -1241
  48. data/assets/img/base/page-with-backtotop.png +0 -0
  49. data/assets/img/base/page-with-backtotop.svg +800 -573
  50. data/assets/img/base/page-with-copyright.png +0 -0
  51. data/assets/img/base/page-with-copyright.svg +818 -645
  52. data/assets/img/base/page-with-footer.png +0 -0
  53. data/assets/img/base/page-with-footer.svg +1018 -0
  54. data/assets/img/base/page-with-link.png +0 -0
  55. data/assets/img/base/page-with-link.svg +142 -139
  56. data/assets/img/base/page-with-locales.png +0 -0
  57. data/assets/img/base/page-with-locales.svg +795 -577
  58. data/assets/img/base/page-with-shortcut.png +0 -0
  59. data/assets/img/base/page-with-shortcut.svg +796 -569
  60. data/assets/img/base/page-with-social.png +0 -0
  61. data/assets/img/base/page-with-social.svg +811 -673
  62. data/assets/img/base/page-with-sponsors.png +0 -0
  63. data/assets/img/base/page-with-sponsors.svg +795 -568
  64. data/assets/js/base/heading-anchor.js +108 -0
  65. data/assets/js/base/init-tooltips.js +5 -4
  66. metadata +10 -3
  67. data/_data/base/toc_generator_schema.yml +0 -102
  68. /data/_includes/base/{toc_generator.html.liquid → toc-generator.html.liquid} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c35f4e4773736f707e99e90ee39c1f421bbb50c2402014d436ab6345129aa58
4
- data.tar.gz: 57952cb04301a5c76a05d6c4df029f029dc1e29f043be0954cd2af1874b8633d
3
+ metadata.gz: a0e8d7792d6d8140767ded6ebcf47ef0fc3666d887ce94e52e3ef5b32a9a4e8c
4
+ data.tar.gz: 5bdb1ffc38159c03221f333a9004091f6c20f95def06400ddc8c24a527f54732
5
5
  SHA512:
6
- metadata.gz: 91da2328508825f35478b77a442ade9ae8d21ec9db212f89dff393a8f5f3a127787a1dea82548cdc13da626dba47f0bc59136a9e5b5083d7acf8af6fc5ba6b7f
7
- data.tar.gz: 70c439ed71ba9192e1b1c6ba22cdf574b25da92ed82dbd757b9bf19ffd83e589b36393dd52b82ec00d6407078543cd72fff63eb953a9b5a1b7a7eebde752e28b
6
+ metadata.gz: 5aba2b5087edf6f8a46704eb712c9616a812c7b511982fba32463713945dff3a34fff652bdc09fcdc1e1cde46f63536ae3b39421b82f299559eefe01870755db
7
+ data.tar.gz: b2cf9e610f6c44e2394643b246b886f8fd1b6a23e718bfea2a2718af7a5b0bbdd6075d983a3851aa56c0d10b0a43f226ea38d8ae6262a2a1a4a048f57c594486
@@ -70,7 +70,7 @@ properties:
70
70
  format: uri-reference
71
71
  screenshot_class:
72
72
  type: string
73
- default: ""
73
+ default: "img-fluid"
74
74
  description: Custom Bootstrap classes applied to the `screenshot` image element.
75
75
  screenshot_style:
76
76
  type: string
@@ -124,7 +124,7 @@ properties:
124
124
  Only relevant when `type` is set to `upstream`.
125
125
  preamble_class:
126
126
  type: string
127
- default: mb-3
127
+ default: "mb-3"
128
128
  description: Custom Bootstrap classes applied to the `preamble` message element (default adds margin-bottom).
129
129
  finale:
130
130
  type: string
@@ -138,7 +138,7 @@ properties:
138
138
  description: Custom Bootstrap classes applied to the `finale` message element (default adds margin-bottom).
139
139
  class:
140
140
  type: string
141
- default: ""
141
+ default: "bg-primary bg-opacity-10 border border-primary-subtle mb-3 p-5 align-items-center text-center rounded"
142
142
  description: >-
143
143
  Custom Bootstrap classes applied to the main container of the
144
144
  Upstream Bit layout. Use this to control padding, background, and element
@@ -164,10 +164,11 @@ properties:
164
164
  - dark
165
165
  index_page_name:
166
166
  type: string
167
- default: ""
167
+ default: "See all derivatives"
168
168
  description: The visible link text (e.g., `See all derivatives`) used to connect to the Downstream index page.
169
169
  index_page_url:
170
170
  type: string
171
+ default: ""
171
172
  description: >-
172
173
  The URL path to the index page listing all Downstream resources related
173
174
  to this Upstream Bit. For example, if the Upstream is at `/my-project/`,
@@ -1,6 +1,6 @@
1
1
  title: Content Section Configuration
2
2
  description: >-
3
- Schema for configuring the main content display component. This controls the
3
+ Schema for configuring the main content display partial. This controls the
4
4
  rendering and layout of the primary content area on a page.
5
5
  type: object
6
6
  properties:
@@ -0,0 +1,9 @@
1
+ ---
2
+ #
3
+ # site.data.base.footer - Control footer branding.
4
+ #
5
+ brand_image: "centos-whitelogo.svg"
6
+ brand_image_class: ""
7
+ brand_image_height: "32"
8
+ brand_manifestation: jekyll-theme-centos
9
+ brand_manifestation_class: ""
@@ -0,0 +1,55 @@
1
+ title: Footer Component Configuration
2
+ description: >-
3
+ Schema for configuring the Footer component, which renders the site's
4
+ bottom section including brand identity, shortcuts, locales, social links,
5
+ and copyright information.
6
+ type: object
7
+ properties:
8
+ with_footer:
9
+ type: boolean
10
+ default: false
11
+ description: >-
12
+ Controls the visibility of the Footer component. Set to `true` to
13
+ display the footer at the bottom of the page. Set to `false` (default)
14
+ to hide it entirely.
15
+ with_footer_data:
16
+ type: object
17
+ default: {}
18
+ description: >-
19
+ The page-level configuration object for the Footer component. Settings
20
+ defined here (in the page's front matter) override any global `footer`
21
+ data defined in site-wide `_data` files.
22
+ properties:
23
+ brand_image:
24
+ type: string
25
+ default: "centos-whitelogo.svg"
26
+ description: >-
27
+ The filename of the brand logo or image to display in the footer.
28
+ This file is expected to be located in your site's image assets
29
+ directory.
30
+ brand_image_class:
31
+ type: string
32
+ default: ""
33
+ description: >-
34
+ One or more Bootstrap CSS classes to apply directly to the brand
35
+ image element (`<img>`).
36
+ brand_image_height:
37
+ type: string
38
+ default: "32"
39
+ description: >-
40
+ The desired fixed height for the brand image, specified in pixels
41
+ as a string (e.g., `"32"`).
42
+ brand_manifestation:
43
+ type: string
44
+ default: ""
45
+ description: >-
46
+ The text label or name (e.g., project name) that is displayed
47
+ alongside the brand image in the footer.
48
+ brand_manifestation_class:
49
+ type: string
50
+ default: ""
51
+ description: >-
52
+ One or more Bootstrap CSS classes to apply to the brand
53
+ manifestation text element.
54
+ additionalProperties: false
55
+ additionalProperties: false
@@ -0,0 +1,4 @@
1
+ ---
2
+ icon: "fa-solid fa-link"
3
+ copy_success_message: "Copied!"
4
+ reset_delay: 2000
@@ -0,0 +1,37 @@
1
+ ---
2
+ title: Heading Anchor Component Configuration
3
+ description: >
4
+ Configuration for the first-class heading anchor feature of jekyll-link-decorator.
5
+ Each heading (h1–h6) receives a Font Awesome link icon that, when clicked, copies
6
+ the full page URL with fragment to the clipboard.
7
+ type: object
8
+ properties:
9
+ with_heading_anchor:
10
+ type: boolean
11
+ description: Enable or disable automatic heading anchor injection.
12
+ default: true
13
+ with_heading_anchor_data:
14
+ type: object
15
+ description: Configuration for heading anchor appearance and copy behaviour.
16
+ properties:
17
+ icon:
18
+ type: string
19
+ description: Font Awesome icon classes applied to the anchor icon element.
20
+ default: "fa-solid fa-link"
21
+ icon_size:
22
+ type: string
23
+ description: Font Awesome size modifier appended after the icon classes.
24
+ copy_success_message:
25
+ type: string
26
+ description: >
27
+ Feedback message shown after a successful clipboard copy.
28
+ Consumed by heading-anchor.js via data-success-message on the script element.
29
+ default: "Copied!"
30
+ reset_delay:
31
+ type: integer
32
+ description: >
33
+ Milliseconds to wait before the icon resets to its original state
34
+ after a successful copy. Consumed by heading-anchor.js via data-reset-delay.
35
+ default: 2000
36
+ additionalProperties: false
37
+ additionalProperties: false
@@ -10,14 +10,17 @@ properties:
10
10
  description: >-
11
11
  Enables or disables the rendering of the Link component. Set to `true`
12
12
  (default) to display the link; set to `false` to suppress rendering.
13
+ This is a page-level front matter variable read as `page.with_link` by
14
+ the template. It is set globally via `_config.yml` defaults and can be
15
+ overridden per page.
13
16
  with_link_data:
14
17
  type: object
15
18
  default: {}
16
19
  description: >-
17
20
  The configuration object containing all attributes necessary to render and
18
- style the link element (`<a>`). Requires `name` parameter. The `link` parameter
19
- is optional - if omitted, an anchor link is automatically generated from the name
20
- for in-page navigation.
21
+ style the link element (`<a>`). Requires either `name` (for text or icon+text links)
22
+ or `icon` with `aria_label` (for icon-only links). The `link` parameter is optional
23
+ if omitted, an anchor link is automatically generated from `name` for in-page navigation.
21
24
  properties:
22
25
  name:
23
26
  type: string
@@ -29,7 +32,8 @@ properties:
29
32
  description: >-
30
33
  The target URL the link points to. This can be a relative path (prefixed by site URL settings), a path using `../` (e.g., `../some-page`),
31
34
  or an absolute URL (e.g., `https://example.com`). If omitted, an
32
- anchor link is generated from the `name` parameter by converting to lowercase and replacing spaces with hyphens
35
+ anchor link is generated from the `name` parameter by converting to lowercase,
36
+ replacing spaces with hyphens, and removing the characters `"`, `'`, `?`, `&`, `#`, and `/`
33
37
  (e.g., "Back to Top" becomes "#back-to-top"), enabling in-page navigation to section headings.
34
38
  format: uri-reference
35
39
  target:
@@ -37,10 +41,9 @@ properties:
37
41
  default: ""
38
42
  description: >-
39
43
  The link target behavior. Set to `_blank` to open the link in a new window or tab.
40
- When set to `_blank` with external cross-domain links, the component automatically adds
41
- `rel="noopener noreferrer"` for security and performance best practices, and an
42
- external-link icon (fa-solid fa-external-link) is automatically displayed at the end
43
- of the link text (unless a custom icon is explicitly provided).
44
+ When set to `_blank`, the component automatically adds `rel="noopener noreferrer"`
45
+ for security. The `jekyll-link-decorator` plugin independently adds an external-link
46
+ icon to cross-domain links regardless of this setting.
44
47
  enum:
45
48
  - ""
46
49
  - _blank
@@ -50,7 +53,9 @@ properties:
50
53
  description: >-
51
54
  One or more CSS classes to apply to the link element. Use this
52
55
  to override default link styling and apply component styles like
53
- Bootstrap buttons (e.g., `btn btn-primary btn-lg`).
56
+ Bootstrap buttons (e.g., `btn btn-primary btn-lg`). When not set, the template
57
+ applies: `link link-{color} link-offset-3 link-offset-3-hover
58
+ link-underline-{color} link-underline-opacity-0 link-underline-opacity-100-hover`.
54
59
  role:
55
60
  type: string
56
61
  default: ""
@@ -62,7 +67,12 @@ properties:
62
67
  type: string
63
68
  default: ""
64
69
  description: >-
65
- The ARIA label providing a concise, accessible description of the link's purpose, used primarily when the link contains no visible text (e.g., icon-only social media buttons).
70
+ The ARIA label providing a concise, accessible description of the link's
71
+ purpose. Required when `name` is omitted (icon-only links): without it,
72
+ the link has no accessible name and screen readers cannot describe its
73
+ purpose. For text+icon links, `aria_label` is not required — all `<i>`
74
+ icon elements are automatically rendered with `aria-hidden="true"` so
75
+ screen readers rely on the visible `name` text only.
66
76
  color:
67
77
  type: string
68
78
  default: primary
@@ -83,71 +93,95 @@ properties:
83
93
  default: ""
84
94
  description: >-
85
95
  The Font Awesome icon class (e.g., `fa-solid fa-download`) to display
86
- within the link. When a custom icon is provided, it overrides any automatic
87
- icon generation. For external cross-domain links with `target="_blank"`,
88
- the component automatically adds a `fa-solid fa-external-link` icon
89
- if no custom icon is specified.
96
+ within the link. When provided, this icon is used instead of any icon
97
+ the `jekyll-link-decorator` plugin would otherwise add to external links.
90
98
  icon_position:
91
99
  type: string
92
100
  default: start
93
101
  description: >-
94
102
  The position of the icon relative to the link text. Choose `start`
95
103
  (default) for the icon before the text, or `end` for the icon
96
- after the text.
104
+ after the text. This parameter applies only when `name` is also set.
105
+ For icon-only links (when `name` is not provided), `icon_position` has
106
+ no effect and no spacing margin is applied.
97
107
  enum:
98
108
  - start
99
109
  - end
100
- required:
101
- - name
110
+ data_bs_toggle:
111
+ type: string
112
+ default: ""
113
+ description: >-
114
+ The Bootstrap `data-bs-toggle` attribute. Set to `tooltip` or `popover`
115
+ to enable the corresponding Bootstrap interactive component on the link element.
116
+ enum:
117
+ - ""
118
+ - tooltip
119
+ - popover
120
+ data_bs_title:
121
+ type: string
122
+ default: ""
123
+ description: >-
124
+ The Bootstrap `data-bs-title` attribute. For tooltips, provides the tooltip
125
+ text. For popovers, provides the optional header displayed above the body.
126
+ Use `data_bs_content` to provide the popover body text.
127
+ data_bs_content:
128
+ type: string
129
+ default: ""
130
+ description: >-
131
+ The Bootstrap `data-bs-content` attribute. Provides the body text displayed
132
+ inside a Bootstrap popover. Required when `data_bs_toggle` is set to `popover`;
133
+ Bootstrap suppresses the popover if this value is empty.
134
+ data_bs_placement:
135
+ type: string
136
+ default: ""
137
+ description: >-
138
+ The Bootstrap `data-bs-placement` attribute. Controls where the tooltip or
139
+ popover appears relative to the link element.
140
+ enum:
141
+ - ""
142
+ - top
143
+ - bottom
144
+ - start
145
+ - end
146
+ data_bs_trigger:
147
+ type: string
148
+ default: ""
149
+ description: >-
150
+ The Bootstrap `data-bs-trigger` attribute. Controls how the tooltip or popover
151
+ is shown and dismissed. Tooltips default to `"hover focus"`; popovers default
152
+ to `"click"`. Use `"click focus"` to allow dismissal by clicking away or
153
+ tabbing away.
154
+ data_bs_delay:
155
+ type: string
156
+ default: ""
157
+ description: >-
158
+ The Bootstrap `data-bs-delay` attribute. Sets the show and hide delay in
159
+ milliseconds. Accepts a number (e.g., `"500"`) or a JSON object for separate
160
+ delays (e.g., `'{"show":500,"hide":100}'`). Applies to both tooltips and
161
+ popovers.
162
+ data_bs_html:
163
+ type: string
164
+ default: ""
165
+ description: >-
166
+ The Bootstrap `data-bs-html` attribute. Set to `"true"` to allow HTML in the
167
+ tooltip or popover content. Use only with trusted content; never use with
168
+ user-supplied input. Defaults to `"false"` (plain text).
169
+ enum:
170
+ - ""
171
+ - "true"
172
+ - "false"
173
+ data_bs_custom_class:
174
+ type: string
175
+ default: ""
176
+ description: >-
177
+ The Bootstrap `data-bs-custom-class` attribute. Adds one or more custom CSS
178
+ classes to the tooltip or popover element, enabling targeted styling overrides.
179
+ data_bs_offset:
180
+ type: string
181
+ default: ""
182
+ description: >-
183
+ The Bootstrap `data-bs-offset` attribute. Offsets the tooltip or popover
184
+ position from its target. Accepts a comma-separated pair of values
185
+ (e.g., `"0,8"` shifts 8 px along the main axis).
102
186
  additionalProperties: false
103
- _notes:
104
- type: object
105
- description: Metadata and reference information
106
- properties:
107
- implementation_file:
108
- type: string
109
- default: "src/HTML/jekyll/_includes/link.html.liquid"
110
- description: Location of the component implementation
111
- user_documentation:
112
- type: string
113
- default: "examples/jekyll/layouts/default/components/link.md"
114
- description: Location of user-facing documentation
115
- anchor_generation:
116
- type: string
117
- default: "When 'link' parameter is omitted, component generates anchor from 'name'"
118
- description: Explanation of anchor link generation behavior
119
- _examples:
120
- type: array
121
- description: Practical configuration examples
122
- items:
123
- - description: "Basic text link"
124
- with_link_data:
125
- name: "Documentation"
126
- link: "/docs/"
127
- - description: "Anchor link for in-page navigation"
128
- with_link_data:
129
- name: "Back to top"
130
- - description: "Button with icon"
131
- with_link_data:
132
- name: "Download"
133
- link: "/files/document.pdf"
134
- icon: "fa-solid fa-download"
135
- class: "btn btn-primary"
136
- role: "button"
137
- - description: "Icon-only link with accessibility"
138
- with_link_data:
139
- icon: "fa-solid fa-search"
140
- link: "/search/"
141
- aria_label: "Open search"
142
- - description: "Link opening in new window (automatic external-link icon)"
143
- with_link_data:
144
- name: "Visit Example"
145
- link: "https://example.com"
146
- target: "_blank"
147
- - description: "Link opening in new window (custom icon override)"
148
- with_link_data:
149
- name: "Custom Icon"
150
- icon: "fa-solid fa-arrow-up-right-from-square"
151
- link: "https://example.com"
152
- target: "_blank"
153
187
  additionalProperties: false
@@ -149,7 +149,7 @@ properties:
149
149
  Delay in seconds between LibreTranslate API retry attempts.
150
150
  libretranslate_stop_on_error:
151
151
  type: boolean
152
- default: true
152
+ default: false
153
153
  description: >-
154
154
  When `true`, the build stops on an unrecoverable LibreTranslate
155
155
  API error rather than continuing with untranslated strings.
@@ -19,7 +19,7 @@ properties:
19
19
  properties:
20
20
  class:
21
21
  type: string
22
- default: flex-column bg-image text-bg-dark rounded
22
+ default: flex-column text-bg-dark bg-image
23
23
  description: >-
24
24
  Custom Bootstrap classes for the main project container, controlling
25
25
  alignment, background, and text colors (e.g., `padding`, `bg-image`).
@@ -79,7 +79,7 @@ properties:
79
79
  description: A detailed summary or description of the project.
80
80
  description_class:
81
81
  type: string
82
- default: lead mb-3
82
+ default: lead mb-3 text-center
83
83
  description: Custom CSS classes applied to the project description text element.
84
84
  actions:
85
85
  type: array
@@ -93,7 +93,7 @@ properties:
93
93
  additionalProperties: true
94
94
  actions_class:
95
95
  type: string
96
- default: ""
96
+ default: "mb-3"
97
97
  description: Custom CSS classes applied to the container wrapping the action buttons list.
98
98
  actions_btn_class:
99
99
  type: string
@@ -111,8 +111,12 @@ properties:
111
111
  additionalProperties: true
112
112
  resources_class:
113
113
  type: string
114
- default: flex-row flex-wrap bg-dark bg-opacity-75 rounded-bottom-4 py-1 px-5
114
+ default: gap-2 d-md-flex justify-content-lg-center bg-dark p-2 rounded-top
115
115
  description: Custom CSS classes applied to the container wrapping the resource links.
116
+ resources_btn_class:
117
+ type: string
118
+ default: "btn text-start text-nowrap btn-dark"
119
+ description: ""
116
120
  required:
117
121
  - name
118
122
  - description
@@ -19,7 +19,7 @@ properties:
19
19
  properties:
20
20
  class:
21
21
  type: string
22
- default: "row my-4"
22
+ default: "row mt-4"
23
23
  description: >-
24
24
  One or more CSS classes applied to title container element for custom styling,
25
25
  alignment, or spacing.
@@ -80,10 +80,12 @@ properties:
80
80
  page than the actual content (e.g., `/docs/`).
81
81
  sanitize:
82
82
  type: boolean
83
- default: false
83
+ default: true
84
84
  description: >-
85
85
  When set to `true`, HTML tags within headings will be stripped from the TOC
86
- display text. Default is `false` (HTML is preserved).
86
+ display text. Default is `true` (HTML is stripped). Enabling sanitization
87
+ is particularly important when heading anchors are active, as it prevents
88
+ the anchor icon markup from appearing inside TOC entry links.
87
89
  skip_no_ids:
88
90
  type: boolean
89
91
  default: false
@@ -96,5 +98,17 @@ properties:
96
98
  description: >-
97
99
  When set to `true`, the TOC will be rendered as a single-level flat list
98
100
  instead of a hierarchical nested structure. Default is `false` (hierarchical).
101
+ baseurl:
102
+ type: string
103
+ deprecated: true
104
+ description: >-
105
+ Deprecated. Use `base_url` instead. When provided, a deprecation warning
106
+ comment is emitted in the HTML output.
107
+ skipNoIDs:
108
+ type: boolean
109
+ deprecated: true
110
+ description: >-
111
+ Deprecated. Use `skip_no_ids` instead. When provided, a deprecation warning
112
+ comment is emitted in the HTML output.
99
113
  additionalProperties: false
100
114
  additionalProperties: false
@@ -27,15 +27,26 @@ Data Source Hierarchy (priority):
27
27
  ================================================================================
28
28
  {%- endcomment %}
29
29
 
30
- {%- if page.with_announcement and page.with_announcement_data.size > 0 -%}
31
- {%- assign announcements = include.data | default: page.with_announcement_data | default: site.data.announcement | default: site.data.base.announcement %}
30
+ {%- assign with_announcement = include.with_announcement
31
+ | default: page.with_announcement
32
+ %}
33
+
34
+ {%- assign with_announcement_data = include.data
35
+ | default: page.with_announcement_data
36
+ | default: site.data.announcement
37
+ | default: site.data.base.announcement
38
+ %}
39
+
40
+ {%- assign with_announcement_schema = site.data.base.announcement_schema.properties.with_announcement_data.items.properties %}
41
+
42
+ {%- if with_announcement %}
32
43
 
33
44
  {%- comment %} === Presentation === {% endcomment %}
34
- {%- for announcement in announcements %}
45
+ {%- for announcement in with_announcement_data %}
35
46
 
36
47
  {%- comment %} --- Defaults --- {% endcomment %}
37
- {%- assign announcement_color = announcement.color | default: "primary" %}
38
- {%- assign announcement_icon = announcement.icon | default: "fa-solid fa-bullhorn" %}
48
+ {%- assign announcement_color = announcement.color | default: with_announcement_schema.color.default %}
49
+ {%- assign announcement_icon = announcement.icon | default: with_announcement_schema.icon.default %}
39
50
 
40
51
  {%- comment %} --- HTML --- {% endcomment %}
41
52
  <div class="announcement alert alert-{{ announcement_color }} alert-dismissible fade show shadow mb-3" role="alert">
@@ -43,11 +54,12 @@ Data Source Hierarchy (priority):
43
54
  <div class="me-3">
44
55
  <div class="h6 my-1"><i class="{{ announcement_icon }}"></i></div>
45
56
  </div>
46
- <div class="flex-fill text-start">
57
+ <p class="flex-fill text-start mb-0">
47
58
  {{- announcement.content }}
48
- </div>
59
+ </p>
49
60
  </div>
50
61
  <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
51
62
  </div>
52
63
  {%- endfor %}
64
+
53
65
  {%- endif -%}
@@ -29,16 +29,27 @@ Data Source Hierarchy (priority):
29
29
  ================================================================================
30
30
  {% endcomment %}
31
31
 
32
- {%- if page.with_artwork -%}
33
- {%- assign artwork = include.data | default: page.with_artwork_data | default: site.data.artwork | default: site.data.base.artwork %}
32
+ {%- assign with_artwork = include.with_artwork
33
+ | default: page.with_artwork
34
+ %}
35
+
36
+ {%- assign with_artwork_data = include.data
37
+ | default: page.with_artwork_data
38
+ | default: site.data.artwork
39
+ | default: site.data.base.artwork
40
+ %}
41
+
42
+ {%- assign with_artwork_schema = site.data.base.artwork_schema.properties.with_artwork_data.properties %}
43
+
44
+ {%- if with_artwork %}
34
45
 
35
46
  {%- comment %} === Presentation === {% endcomment %}
36
47
 
37
48
  {%- comment %} --- Defaults --- {% endcomment %}
38
- {%- assign artwork_image = artwork.image | default: site.data.base.artwork_schema.properties.with_artwork_data.properties.image.default %}
39
- {%- assign artwork_alt = artwork.alt | default: site.data.base.artwork_schema.properties.with_artwork_data.properties.alt.default %}
40
- {%- assign artwork_class = artwork.class | default: site.data.base.artwork_schema.properties.with_artwork_data.properties.class.default %}
41
- {%- assign artwork_image_class = artwork.image_class | default: site.data.base.artwork_schema.properties.with_artwork_data.properties.image_class.default %}
49
+ {%- assign artwork_image = with_artwork_data.image | default: with_artwrk_schema.image.default %}
50
+ {%- assign artwork_alt = with_artwork_data.alt | default: with_artwrk_schema.alt.default %}
51
+ {%- assign artwork_class = with_artwork_data.class | default: with_artwrk_schema.class.default %}
52
+ {%- assign artwork_image_class = with_artwork_data.image_class | default: with_artwrk_schema.image_class.default %}
42
53
 
43
54
  {%- comment %} --- HTML --- {% endcomment %}
44
55
  <div class="{{ artwork_class }}">
@@ -48,4 +59,5 @@ Data Source Hierarchy (priority):
48
59
  <img src="{{ site.baseurl }}{{ artwork_image }}" class="{{ artwork_image_class }}" alt="{{ artwork_alt }}" />
49
60
  {% endif %}
50
61
  </div>
62
+
51
63
  {%- endif -%}
@@ -28,16 +28,28 @@ Data Source Hierarchy (priority):
28
28
  ================================================================================
29
29
  {% endcomment %}
30
30
 
31
- {%- assign backtotop = include.data | default: page.with_backtotop_data | default: site.data.backtotop | default: site.data.base.backtotop %}
31
+ {%- assign with_backtotop = include.with_backtotop
32
+ | default: page.with_backtotop
33
+ %}
34
+
35
+ {%- assign with_backtotop_data = include.data
36
+ | default: page.with_backtotop_data
37
+ | default: site.data.backtotop
38
+ | default: site.data.base.backtotop
39
+ %}
40
+
41
+ {%- assign with_backtotop_schema = site.data.base.backtotop_schema.properties.with_backtotop_data.properties %}
42
+
43
+ {%- if with_backtotop %}
32
44
 
33
45
  {%- comment %} === Presentation === {% endcomment %}
34
46
 
35
47
  {%- comment %} --- Defaults --- {% endcomment %}
36
- {%- assign backtotop_cdn = backtotop.cdn | default: site.data.base.backtotop_schema.properties.with_backtotop_data.properties.cdn.default %}
37
- {%- assign backtotop_version = backtotop.version | default: site.data.base.backtotop_schema.properties.with_backtotop_data.properties.version.default %}
38
- {%- assign backtotop_diameter = backtotop.diameter | default: site.data.base.backtotop_schema.properties.with_backtotop_data.properties.diameter.default %}
39
- {%- assign backtotop_background_color = backtotop.background_color | default: site.data.base.backtotop_schema.properties.with_backtotop_data.properties.background_color.default %}
40
- {%- assign backtotop_text_color = backtotop.text_color | default: site.data.base.backtotop_schema.properties.with_backtotop_data.properties.text_color.default %}
48
+ {%- assign backtotop_cdn = with_backtotop_data.cdn | default: with_backtotop_schema.cdn.default %}
49
+ {%- assign backtotop_version = with_backtotop_data.version | default: with_backtotop_schema.version.default %}
50
+ {%- assign backtotop_diameter = with_backtotop_data.diameter | default: with_backtotop_schema.diameter.default %}
51
+ {%- assign backtotop_background_color = with_backtotop_data.background_color | default: with_backtotop_schema.background_color.default %}
52
+ {%- assign backtotop_text_color = with_backtotop_data.text_color | default: with_backtotop_schema.text_color.default %}
41
53
 
42
54
  {%- comment %} --- HTML --- {% endcomment %}
43
55
  <!-- Load vanilla-back-to-top library from CDN -->
@@ -49,3 +61,5 @@ Data Source Hierarchy (priority):
49
61
  data-background-color="{{ backtotop_background_color }}"
50
62
  data-text-color="{{ backtotop_text_color }}"
51
63
  src="{{ site.baseurl }}/assets/js/base/backtotop.min.js"></script>
64
+
65
+ {%- endif %}