jekyll-theme-centos 2.52.0.beta.70 → 2.52.0.beta.71

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1743daef8c1ecd2f1e5acabe083ba14bfcb3703ac101e556227365e3182571c8
4
- data.tar.gz: 10adccc52f15020098abafa51d75021f765cff61666e9815173a4172aed3a445
3
+ metadata.gz: 8e5c3abe3fcc876c296b26ba25806a37cac8a786c6e9b035706aa83cee10f0b8
4
+ data.tar.gz: 1da8803c0ac316b99f83a7552b4e2a7ec81cfb9202b58fe74601e5178d5d1322
5
5
  SHA512:
6
- metadata.gz: ed86ea4c7270a8024c82650c489983def6f6b62e58c3686383e4e42b83726bba169d6c8ae5703b59f6726455414040348b3fb2ade146e593fc4eac63e246be12
7
- data.tar.gz: 99459403f6dcb8166b3a5a718a366ff5de100dee61022dbb75218cad54ce9f697aa0e8ea39670907847580e5254cb80ec84aebc22c456c23da04c957ea66c000
6
+ metadata.gz: f94216973e92dd4b5fd0abd41709fd2ebe7bd844151aa6a97d75363aab04b299206a16b0ae9b574d8059df720f801ce3a2e3ca60c37be8d2e1bbbaf995b010e4
7
+ data.tar.gz: 65bd1cf5b7f1449708515fce41fde5ff5ea0208547cd70c05cc487563104c7ba4010209c74370c4a5338c1778bb3fd34b8ad03f507945696b90b154d214ec092
@@ -52,12 +52,16 @@ Data Source Hierarchy (priority):
52
52
  {%- assign artwork_image_class = with_artwork_data.image_class | default: with_artwork_schema.image_class.default %}
53
53
 
54
54
  {%- comment %} --- HTML --- {% endcomment %}
55
- <div class="{{ artwork_class }}">
56
- {%- if artwork_image contains "://" %}
57
- <img src="{{ artwork_image }}" class="{{ artwork_image_class }}" alt="{{ artwork_alt }}" />
58
- {%- else %}
59
- <img src="{{ site.baseurl }}{{ artwork_image }}" class="{{ artwork_image_class }}" alt="{{ artwork_alt }}" />
60
- {%- endif %}
55
+ <div class="row mb-3">
56
+ <div class="{{ site.data.base.content.class | default: 'col' }}">
57
+ <div class="{{ artwork_class }}">
58
+ {%- if artwork_image contains "://" %}
59
+ <img src="{{ artwork_image }}" class="{{ artwork_image_class }}" alt="{{ artwork_alt }}" />
60
+ {%- else %}
61
+ <img src="{{ site.baseurl }}{{ artwork_image }}" class="{{ artwork_image_class }}" alt="{{ artwork_alt }}" />
62
+ {%- endif %}
63
+ </div>
64
+ </div>
61
65
  </div>
62
66
 
63
67
  {%- endif -%}
@@ -47,31 +47,35 @@ Data Source Hierarchy:
47
47
  {%- comment %} Use plugin-provided locale (set for localized pages, defaults to 'en') {%- endcomment %}
48
48
  {%- assign detected_locale = page.locale | default: 'en' %}
49
49
 
50
- <nav aria-label="{{ with_breadcrumb_data.arialabel | default: with_breadcrumb_schema.arialabel.default | default: 'breadcrumb' }}">
51
- <ol class="breadcrumb mb-0">
52
- {%- comment %} Home link - adjust for locale {%- endcomment %}
53
- {%- if detected_locale == 'en' or detected_locale == '' %}
54
- <li class="breadcrumb-item"><a class="{{ site.with_link_decorator_data.default_link_classes }}" href="{{ site.baseurl }}/">Home</a></li>
55
- {%- else %}
56
- <li class="breadcrumb-item"><a class="{{ site.with_link_decorator_data.default_link_classes }}" href="{{ site.baseurl }}/{{ detected_locale }}/">Home</a></li>
57
- {%- endif %}
58
-
59
- {%- assign crumbs = breadcrumb_url | remove:'/index.html' | split: '/' %}
60
- {%- for crumb in crumbs offset: 1 %}
61
- {%- if forloop.last %}
62
- <li class="breadcrumb-item active">{{ page.title }}</li>
63
- {%- else %}
64
- {%- comment %} Build URL with locale prefix if not English {%- endcomment %}
65
- {%- assign crumb_limit = forloop.index | plus: 1 %}
50
+ <div class="row small mb-3">
51
+ <div class="col">
52
+ <nav aria-label="{{ with_breadcrumb_data.arialabel | default: with_breadcrumb_schema.arialabel.default | default: 'breadcrumb' }}">
53
+ <ol class="breadcrumb mb-0">
54
+ {%- comment %} Home link - adjust for locale {%- endcomment %}
66
55
  {%- if detected_locale == 'en' or detected_locale == '' %}
67
- {%- assign crumb_prefix = '' %}
56
+ <li class="breadcrumb-item"><a class="{{ site.with_link_decorator_data.default_link_classes }}" href="{{ site.baseurl }}/">Home</a></li>
68
57
  {%- else %}
69
- {%- assign crumb_prefix = detected_locale | prepend: '/' %}
58
+ <li class="breadcrumb-item"><a class="{{ site.with_link_decorator_data.default_link_classes }}" href="{{ site.baseurl }}/{{ detected_locale }}/">Home</a></li>
70
59
  {%- endif %}
71
- <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>
72
- {%- endif %}
73
- {%- endfor %}
74
- </ol>
75
- </nav>
60
+
61
+ {%- assign crumbs = breadcrumb_url | remove:'/index.html' | split: '/' %}
62
+ {%- for crumb in crumbs offset: 1 %}
63
+ {%- if forloop.last %}
64
+ <li class="breadcrumb-item active">{{ page.title }}</li>
65
+ {%- else %}
66
+ {%- comment %} Build URL with locale prefix if not English {%- endcomment %}
67
+ {%- assign crumb_limit = forloop.index | plus: 1 %}
68
+ {%- if detected_locale == 'en' or detected_locale == '' %}
69
+ {%- assign crumb_prefix = '' %}
70
+ {%- else %}
71
+ {%- assign crumb_prefix = detected_locale | prepend: '/' %}
72
+ {%- endif %}
73
+ <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>
74
+ {%- endif %}
75
+ {%- endfor %}
76
+ </ol>
77
+ </nav>
78
+ </div>
79
+ </div>
76
80
 
77
81
  {%- endif -%}
@@ -86,25 +86,26 @@ Data Source:
86
86
  {%- if card_actions.size > 0 %}
87
87
  <div class="{{ card_actions_class }}">
88
88
  {%- for action in card_actions %}
89
- {% include base/link.html.liquid
89
+ {%- include base/link.html.liquid
90
90
  class = card_actions_btn_class
91
91
  role = "button"
92
92
  name = action.name
93
93
  url = action.url
94
94
  icon = action.icon
95
95
  icon_position = action.icon_position
96
- %}
97
- {% endfor %}
96
+ -%}
97
+ {%- endfor %}
98
98
  </div>
99
99
  {% endif %}
100
100
  {%- endcapture %}
101
101
 
102
- {%- comment %} --- HTML --- {% endcomment %}
102
+ {%- comment %} --- HTML --- {% endcomment -%}
103
103
  <div class="d-flex{% if card_class != "" %} {{ card_class }}{% endif %}">
104
- {{ html_card_image }}
105
- {{ html_card_icon }}
106
- {{ html_card_name }}
107
- {{ html_card_description }}
108
- {{ html_card_screenshot }}
109
- {{ html_card_actions }}
104
+ {{- html_card_image | strip -}}
105
+ {{- html_card_icon | strip -}}
106
+ {{- html_card_name | strip -}}
107
+ {{- html_card_description | strip -}}
108
+ {{- html_card_screenshot | strip -}}
109
+ {{- html_card_actions | strip_newlines | strip -}}
110
110
  </div>
111
+ {%- comment %} trim trailing output {% endcomment -%}
@@ -20,9 +20,9 @@
20
20
  {%- endif %}
21
21
  <tr>
22
22
  <td class="text-nowrap">{{ _item_name }}</td>
23
- <td class="text-nowrap"><span role="button" class="copy-btn" data-bs-toggle="tooltip" data-bs-title="Copy hex value" data-copy-value="{{ item.hex }}" aria-label="Copy hex value {{ item.hex }}"><span class="fa-regular fa-copy"></span> <i class="fas fa-circle fa-xl" style="color: {{ item.hex }}"></i> <code>{{ item.hex }}</code></span></td>
24
- <td class="text-nowrap"><span role="button" class="copy-btn" data-bs-toggle="tooltip" data-bs-title="Copy RGB value" data-copy-value="{{ item.rgb }}" aria-label="Copy RGB value {{ item.rgb }}"><span class="fa-regular fa-copy"></span> <code>{{ item.rgb }}</code></span></td>
25
- <td class="text-nowrap"><span role="button" class="copy-btn" data-bs-toggle="tooltip" data-bs-title="Copy HSV value" data-copy-value="{{ item.hsv }}" aria-label="Copy HSV value {{ item.hsv }}"><span class="fa-regular fa-copy"></span> <code>{{ item.hsv }}</code></span></td>
23
+ <td class="text-nowrap"><i class="fas fa-circle fa-xl" style="color: {{ item.hex }}"></i><span role="button" class="copy-btn" data-bs-toggle="tooltip" data-bs-title="Copy hex value" data-copy-value="{{ item.hex }}" aria-label="Copy hex value {{ item.hex }}"><code>{{ item.hex }}</code> <span class="fa-regular fa-copy"></span></span></td>
24
+ <td class="text-nowrap"><span role="button" class="copy-btn" data-bs-toggle="tooltip" data-bs-title="Copy RGB value" data-copy-value="{{ item.rgb }}" aria-label="Copy RGB value {{ item.rgb }}"><code>{{ item.rgb }}</code> <span class="fa-regular fa-copy"></span></span></td>
25
+ <td class="text-nowrap"><span role="button" class="copy-btn" data-bs-toggle="tooltip" data-bs-title="Copy HSV value" data-copy-value="{{ item.hsv }}" aria-label="Copy HSV value {{ item.hsv }}"><code>{{ item.hsv }}</code> <span class="fa-regular fa-copy"></span></span></td>
26
26
  <td><span class="badge {{ item.text_badge }}">{{ item.text_color }}</span></td>
27
27
  <td class="text-nowrap"><code>{{ item.contrast_ratio | remove: '`' }}</code> <a href="https://webaim.org/resources/contrastchecker/?fcolor={{ item.text_color_hex | remove: '#' | upcase }}&bcolor={{ item.hex | remove: '#' | upcase }}" target="_blank" class="text-decoration-none" data-bs-toggle="tooltip" title="Verify with WebAIM" aria-label="Verify contrast ratio with WebAIM"><i class="fas fa-external-link-alt"></i></a></td>
28
28
  <td class="text-nowrap">{% if item.wcag_2_2_aa %}<span class="d-inline-block" data-bs-toggle="tooltip" title="Exceeds WCAG 2.2 AA standard (4.5:1 minimum)"><i class="fas fa-circle-check text-success"></i></span>{% else %}<span class="d-inline-block" data-bs-toggle="tooltip" title="Underperforms WCAG 2.2 AA standard (4.5:1 minimum)"><i class="fas fa-circle-xmark text-danger"></i></span>{% endif %} <code>{{ item.wcag_2_2_aa_margin | remove: '`' }}</code></td>
@@ -1,7 +1,25 @@
1
- {%- assign content_schema_key = "content_schema" %}
2
- {%- assign content_schema = include.schema
3
- | default: site.data[content_schema_key]
4
- | default: site.data.base[content_schema_key]
1
+ {%- assign with_content = include.with_content
2
+ | default: page.with_content
5
3
  -%}
6
4
 
7
- {{ content }}
5
+ {%- assign with_content_data = include.data
6
+ | default: page.with_content_data
7
+ | default: site.data.content
8
+ | default: site.data.base.content
9
+ -%}
10
+
11
+ {%- if with_content -%}
12
+ {%- assign content_schema_key = "content_schema" %}
13
+ {%- assign content_schema = include.schema
14
+ | default: site.data[content_schema_key]
15
+ | default: site.data.base[content_schema_key]
16
+ -%}
17
+ {%- assign class = with_content_data.class
18
+ | default: content_schema.properties.with_content_data.properties.class.default
19
+ | default: 'col' -%}
20
+ <div class="row mb-3">
21
+ <div class="{{ class }} content">
22
+ {{ content }}
23
+ </div>
24
+ </div>
25
+ {%- endif -%}
@@ -59,9 +59,9 @@ Data Source Hierarchy (priority):
59
59
 
60
60
  {%- capture html_fontawesome_preload %}
61
61
  {%- if fontawesome_mode == "css" %}
62
- <link rel="preload" href="{{ fontawesome_cdn }}/{{ fontawesome_version }}/css/{{ fontawesome_css_bundle_name }}.min.css" as="style" fetchpriority="high" crossorigin="anonymous" />
62
+ <link rel="preload" href="{{ fontawesome_cdn }}/{{ fontawesome_version }}/css/{{ fontawesome_css_bundle_name }}.min.css" as="style" fetchpriority="high" integrity="{{ fontawesome_css_bundle_integrity }}" crossorigin="anonymous" />
63
63
  {%- else %}
64
- <link rel="preload" href="{{ fontawesome_cdn }}/{{ fontawesome_version }}/js/{{ fontawesome_js_bundle_name }}.min.js" as="script" fetchpriority="high" crossorigin="anonymous" />
64
+ <link rel="preload" href="{{ fontawesome_cdn }}/{{ fontawesome_version }}/js/{{ fontawesome_js_bundle_name }}.min.js" as="script" fetchpriority="high" integrity="{{ fontawesome_js_bundle_integrity }}" crossorigin="anonymous" />
65
65
  {%- endif %}
66
66
  {%- endcapture %}
67
67
 
@@ -10,6 +10,8 @@
10
10
 
11
11
  {%- if with_footer -%}
12
12
 
13
+ <footer class="footer small bg-dark text-centos-purple-100 pt-5">
14
+
13
15
  {%- assign with_footer_schema = site.data.base.footer_schema.properties.with_footer_data.properties %}
14
16
 
15
17
  {%- assign footer_brand_image = with_footer_data.brand_image | default: with_footer_schema.brand_image.default %}
@@ -66,4 +68,6 @@
66
68
  </div>
67
69
  {% endif %}
68
70
 
71
+ </footer>
72
+
69
73
  {%- endif -%}
@@ -125,5 +125,5 @@ Security & External Links:
125
125
  {{- link_name | strip_newlines | strip -}}
126
126
  </a>
127
127
  {%- endcapture -%}
128
- {{- html_link }}
128
+ {{- html_link | strip_newlines | strip }}
129
129
  {%- endif -%}
@@ -55,11 +55,15 @@ Conditional Logic:
55
55
  {%- assign title_lead = with_title_data.title_lead | default: page.title_lead %}
56
56
  {%- assign title_lead_class = with_title_data.title_lead_class | default: with_title_schema.title_lead_class.default %}
57
57
 
58
- <div class="{{ class }}">
59
- <p class="{{ title_class }}">{{ title }}</p>
60
- {% if title_lead != "" %}
61
- <p class="{{ title_lead_class }}">{{ title_lead }}</p>
62
- {% endif %}
58
+ <div class="row mb-3">
59
+ <div class="{{ site.data.base.content.class | default: 'col' }}">
60
+ <div class="{{ class }}">
61
+ <p class="{{ title_class }}">{{ title }}</p>
62
+ {% if title_lead != "" %}
63
+ <p class="{{ title_lead_class }}">{{ title_lead }}</p>
64
+ {% endif %}
65
+ </div>
66
+ </div>
63
67
  </div>
64
68
 
65
69
  {%- endif -%}
@@ -63,31 +63,35 @@ Data Source Hierarchy (in priority order):
63
63
  {%- comment %} === Presentation === {% endcomment %}
64
64
 
65
65
  {%- comment %} --- HTML --- {% endcomment %}
66
- <div class="accordion shadow-sm" id="pageToc">
67
- <div class="accordion-item">
68
- <div class="accordion-header" id="flush-headingOne">
69
- <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapseOne" aria-expanded="false" aria-controls="flush-collapseOne">
70
- <i class="fa-solid fa-list" aria-hidden="true"></i>
71
- <span class="mx-3 fw-bold">On this page</span>
72
- </button>
73
- </div>
74
- <div id="flush-collapseOne" class="accordion-collapse collapse" data-bs-parent="#pageToc">
75
- <div class="accordion-body small">
76
- {%- include base/toc-generator.html.liquid
77
- id=id
78
- html=content
79
- class=class
80
- item_class=item_class
81
- anchor_class=anchor_class
82
- h_min=h_min
83
- h_max=h_max
84
- ordered=ordered
85
- submenu_class=submenu_class
86
- base_url=base_url
87
- sanitize=sanitize
88
- skip_no_ids=skip_no_ids
89
- flat_toc=flat_toc
90
- %}
66
+ <div class="row mb-3">
67
+ <div class="{{ site.data.base.content.class | default: 'col' }}">
68
+ <div class="accordion shadow-sm" id="pageToc">
69
+ <div class="accordion-item">
70
+ <div class="accordion-header" id="flush-headingOne">
71
+ <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapseOne" aria-expanded="false" aria-controls="flush-collapseOne">
72
+ <i class="fa-solid fa-list" aria-hidden="true"></i>
73
+ <span class="mx-3 fw-bold">On this page</span>
74
+ </button>
75
+ </div>
76
+ <div id="flush-collapseOne" class="accordion-collapse collapse" data-bs-parent="#pageToc">
77
+ <div class="accordion-body small">
78
+ {%- include base/toc-generator.html.liquid
79
+ id=id
80
+ html=content
81
+ class=class
82
+ item_class=item_class
83
+ anchor_class=anchor_class
84
+ h_min=h_min
85
+ h_max=h_max
86
+ ordered=ordered
87
+ submenu_class=submenu_class
88
+ base_url=base_url
89
+ sanitize=sanitize
90
+ skip_no_ids=skip_no_ids
91
+ flat_toc=flat_toc
92
+ %}
93
+ </div>
94
+ </div>
91
95
  </div>
92
96
  </div>
93
97
  </div>
@@ -17,52 +17,18 @@
17
17
 
18
18
  {% include base/event.html.liquid %}
19
19
 
20
- {% if page.with_breadcrumb %}
21
- <div class="row small mb-3">
22
- <div class="col">
23
- {% include base/breadcrumb.html.liquid %}
24
- </div>
25
- </div>
26
- {% endif %}
20
+ {% include base/breadcrumb.html.liquid %}
27
21
 
28
- {% if page.with_title %}
29
- <div class="row mb-3">
30
- <div class="{{ site.data.base.content.class | default: 'col' }}">
31
- {% include base/title.html.liquid %}
32
- </div>
33
- </div>
34
- {% endif %}
22
+ {% include base/title.html.liquid %}
35
23
 
36
- {% if page.with_artwork %}
37
- <div class="row mb-3">
38
- <div class="{{ site.data.base.content.class | default: 'col' }}">
39
- {% include base/artwork.html.liquid %}
40
- </div>
41
- </div>
42
- {% endif %}
24
+ {% include base/artwork.html.liquid %}
43
25
 
44
- {% if page.with_toc %}
45
- <div class="row mb-3">
46
- <div class="{{ site.data.base.content.class | default: 'col' }}">
47
- {% include base/toc.html.liquid %}
48
- </div>
49
- </div>
50
- {% endif %}
26
+ {% include base/toc.html.liquid %}
51
27
 
52
- {% if page.with_content %}
53
- <div class="row mb-3">
54
- <div class="{{ site.data.base.content.class | default: 'col' }} content">
55
- {% include base/content.html.liquid %}
56
- </div>
57
- </div>
58
- {% endif %}
28
+ {% include base/content.html.liquid %}
59
29
 
60
30
  </main>
61
31
 
62
- {% if page.with_footer %}
63
- <footer class="footer small bg-dark text-centos-purple-100 pt-5">
64
- {% include base/footer.html.liquid -%}
65
- </footer>
66
- {% endif %}
32
+ {% include base/footer.html.liquid %}
67
33
  </body>
68
34
  </html>