jekyll-theme-centos 2.52.0.beta.55 → 2.52.0.beta.57

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 (47) hide show
  1. checksums.yaml +4 -4
  2. data/_config.yml +1 -1
  3. data/_data/base/backtotop_schema.yml +6 -0
  4. data/_data/base/datatable_schema.yml +3 -3
  5. data/_data/base/head_schema.yml +19 -0
  6. data/_data/base/heading_anchor.yml +1 -3
  7. data/_data/base/heading_anchor_schema.yml +1 -1
  8. data/_data/base/highlight_schema.yml +30 -0
  9. data/_data/base/ogp.yml +23 -0
  10. data/_data/base/ogp_schema.yml +14 -22
  11. data/_includes/base/backtotop.html.liquid +10 -2
  12. data/_includes/base/copyvalue.html.liquid +10 -1
  13. data/_includes/base/datatable.html.liquid +8 -3
  14. data/_includes/base/fontawesome.html.liquid +2 -2
  15. data/_includes/base/{partials/footer.html.liquid → footer.html.liquid} +2 -2
  16. data/_includes/base/{partials/head.html.liquid → head.html.liquid} +54 -14
  17. data/_includes/base/heading_anchor.html.liquid +8 -3
  18. data/_includes/base/highlight.html.liquid +14 -9
  19. data/_includes/base/{partials/navbar.html.liquid → navbar.html.liquid} +9 -6
  20. data/_includes/base/navindex.html.liquid +2 -2
  21. data/_includes/base/ogp.html.liquid +58 -56
  22. data/_includes/base/shortcut.html.liquid +2 -1
  23. data/_layouts/base/default.html +7 -10
  24. data/_sass/base/_customization.scss +27 -13
  25. data/assets/img/base/example-ogp-image.png +0 -0
  26. data/assets/img/base/example-ogp-image.svg +297 -0
  27. data/assets/img/base/page-layout-default.png +0 -0
  28. data/assets/img/base/page-layout-default.svg +4 -4
  29. data/assets/img/base/page-with-ogp.png +0 -0
  30. data/assets/img/base/page-with-ogp.svg +333 -300
  31. data/assets/img/centos-social-share.png +0 -0
  32. data/assets/js/base/backtotop.js +7 -10
  33. data/assets/js/base/copyvalue.js +96 -94
  34. data/assets/js/base/datatable.js +28 -42
  35. data/assets/js/base/heading-anchor.js +53 -53
  36. data/assets/js/base/highlight.js +9 -3
  37. data/assets/js/base/init-tooltips.js +10 -4
  38. metadata +15 -13
  39. data/_data/base/partials/head_schema.yml +0 -47
  40. data/_includes/base/partials/script.html.liquid +0 -47
  41. /data/_data/base/{partials/content.yml → content.yml} +0 -0
  42. /data/_data/base/{partials/content_schema.yml → content_schema.yml} +0 -0
  43. /data/_data/base/{partials/footer.yml → footer.yml} +0 -0
  44. /data/_data/base/{partials/footer_schema.yml → footer_schema.yml} +0 -0
  45. /data/_data/base/{partials/navbar.yml → navbar.yml} +0 -0
  46. /data/_data/base/{partials/navbar_schema.yml → navbar_schema.yml} +0 -0
  47. /data/_data/base/{partials/script_schema.yml → script_schema.yml} +0 -0
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.55
4
+ version: 2.52.0.beta.57
5
5
  platform: ruby
6
6
  authors:
7
7
  - ReleaseBot
@@ -290,12 +290,17 @@ files:
290
290
  - _data/base/card_schema.yml
291
291
  - _data/base/color.yml
292
292
  - _data/base/color_schema.yml
293
+ - _data/base/content.yml
294
+ - _data/base/content_schema.yml
293
295
  - _data/base/copyright.yml
294
296
  - _data/base/copyright_schema.yml
295
297
  - _data/base/copyvalue_schema.yml
296
298
  - _data/base/datatable_schema.yml
297
299
  - _data/base/event_schema.yml
298
300
  - _data/base/fontawesome_schema.yml
301
+ - _data/base/footer.yml
302
+ - _data/base/footer_schema.yml
303
+ - _data/base/head_schema.yml
299
304
  - _data/base/heading_anchor.yml
300
305
  - _data/base/heading_anchor_schema.yml
301
306
  - _data/base/highlight_schema.yml
@@ -303,18 +308,14 @@ files:
303
308
  - _data/base/languages.yml
304
309
  - _data/base/link_schema.yml
305
310
  - _data/base/locales_schema.yml
311
+ - _data/base/navbar.yml
312
+ - _data/base/navbar_schema.yml
306
313
  - _data/base/navindex_schema.yml
314
+ - _data/base/ogp.yml
307
315
  - _data/base/ogp_schema.yml
308
- - _data/base/partials/content.yml
309
- - _data/base/partials/content_schema.yml
310
- - _data/base/partials/footer.yml
311
- - _data/base/partials/footer_schema.yml
312
- - _data/base/partials/head_schema.yml
313
- - _data/base/partials/navbar.yml
314
- - _data/base/partials/navbar_schema.yml
315
- - _data/base/partials/script_schema.yml
316
316
  - _data/base/project.yml
317
317
  - _data/base/project_schema.yml
318
+ - _data/base/script_schema.yml
318
319
  - _data/base/shortcut_schema.yml
319
320
  - _data/base/social.yml
320
321
  - _data/base/social_schema.yml
@@ -338,17 +339,16 @@ files:
338
339
  - _includes/base/datatable.html.liquid
339
340
  - _includes/base/event.html.liquid
340
341
  - _includes/base/fontawesome.html.liquid
342
+ - _includes/base/footer.html.liquid
343
+ - _includes/base/head.html.liquid
341
344
  - _includes/base/heading_anchor.html.liquid
342
345
  - _includes/base/highlight.html.liquid
343
346
  - _includes/base/image.html.liquid
344
347
  - _includes/base/link.html.liquid
345
348
  - _includes/base/locales.html.liquid
349
+ - _includes/base/navbar.html.liquid
346
350
  - _includes/base/navindex.html.liquid
347
351
  - _includes/base/ogp.html.liquid
348
- - _includes/base/partials/footer.html.liquid
349
- - _includes/base/partials/head.html.liquid
350
- - _includes/base/partials/navbar.html.liquid
351
- - _includes/base/partials/script.html.liquid
352
352
  - _includes/base/project.html.liquid
353
353
  - _includes/base/shortcut.html.liquid
354
354
  - _includes/base/social.html.liquid
@@ -488,6 +488,8 @@ files:
488
488
  - assets/img/anaconda-symbolic.svg
489
489
  - assets/img/anaconda.svg
490
490
  - assets/img/base/centos-colors.gpl
491
+ - assets/img/base/example-ogp-image.png
492
+ - assets/img/base/example-ogp-image.svg
491
493
  - assets/img/base/example-sponsors-design.png
492
494
  - assets/img/base/example-sponsors-design.svg
493
495
  - assets/img/base/example-sponsors-logo-1.png
@@ -1,47 +0,0 @@
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
@@ -1,47 +0,0 @@
1
- {% comment %}
2
- ================================================================================
3
- Template: Script Initialization Component
4
- Purpose: Loads Bootstrap and initializes tooltips. Conditionally includes
5
- optional libraries (Font Awesome, Highlight.js, DataTables, Back-to-Top).
6
- Place before closing </body> tag.
7
- ================================================================================
8
-
9
- Strategic Design Logic:
10
- - Bootstrap loading: core JS functionality
11
- - Tooltip initialization: data-bs-toggle support
12
- - Optional library includes: conditional loading
13
- - Performance: deferred to end of body
14
- - Vanilla JavaScript: no jQuery required
15
-
16
- Required Inputs:
17
- None - loads common libraries automatically
18
-
19
- Conditional Inputs (from page front matter):
20
- - page.with_fontawesome: Load Font Awesome JS (boolean)
21
- - page.with_highlight: Load Highlight.js (boolean)
22
- - page.with_datatable: Load DataTables (boolean)
23
- - page.with_backtotop: Load Back-to-Top (boolean)
24
- - page.with_copyvalue: Load Copy Value functionality (boolean)
25
- - page.with_heading_anchor: Load Heading Anchor copy behavior (boolean)
26
-
27
- Bootstrap Tooltip Initialization:
28
- ```javascript
29
- const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]');
30
- const tooltipList = [...tooltipTriggerList].map(el => new bootstrap.Tooltip(el));
31
- ```
32
-
33
- Dependencies:
34
- - Bootstrap JS: included locally
35
- - Other libraries: loaded via CDN (conditional)
36
- ================================================================================
37
- {% endcomment %}
38
-
39
- <script src="{{ site.baseurl }}/assets/js/bootstrap.bundle.min.js"></script>
40
- <script src="{{ site.baseurl }}/assets/js/base/init-tooltips.min.js"></script>
41
-
42
- {%- include base/fontawesome.html.liquid type="script" %}
43
- {%- include base/highlight.html.liquid type="script" %}
44
- {%- include base/datatable.html.liquid type="script" %}
45
- {%- include base/backtotop.html.liquid %}
46
- {%- include base/copyvalue.html.liquid %}
47
- {%- include base/heading_anchor.html.liquid %}
File without changes
File without changes
File without changes