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 +4 -4
- data/_includes/base/artwork.html.liquid +10 -6
- data/_includes/base/breadcrumb.html.liquid +27 -23
- data/_includes/base/card.html.liquid +11 -10
- data/_includes/base/color-table.html.liquid +3 -3
- data/_includes/base/content.html.liquid +23 -5
- data/_includes/base/fontawesome.html.liquid +2 -2
- data/_includes/base/footer.html.liquid +4 -0
- data/_includes/base/link.html.liquid +1 -1
- data/_includes/base/title.html.liquid +9 -5
- data/_includes/base/toc.html.liquid +29 -25
- data/_layouts/base/default.html +6 -40
- data/assets/img/base/page-layout-default.svg +330 -330
- data/assets/img/base/page-with-alert.svg +918 -254
- data/assets/img/base/page-with-announcement.svg +720 -629
- data/assets/img/base/page-with-artwork.svg +709 -664
- data/assets/img/base/page-with-backtotop.svg +700 -662
- data/assets/img/base/page-with-bits.svg +629 -463
- data/assets/img/base/page-with-breadcrumb.svg +863 -492
- data/assets/img/base/page-with-breakingnews.svg +745 -652
- data/assets/img/base/page-with-copyright.svg +697 -668
- data/assets/img/base/page-with-footer.svg +694 -665
- data/assets/img/base/page-with-locales.svg +699 -661
- data/assets/img/base/page-with-navbar.svg +796 -694
- data/assets/img/base/page-with-project.svg +838 -206
- data/assets/img/base/page-with-shortcut.svg +734 -624
- data/assets/img/base/page-with-social.svg +739 -629
- data/assets/img/base/page-with-sponsors.svg +734 -624
- data/assets/img/base/page-with-toc.svg +890 -235
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8e5c3abe3fcc876c296b26ba25806a37cac8a786c6e9b035706aa83cee10f0b8
|
|
4
|
+
data.tar.gz: 1da8803c0ac316b99f83a7552b4e2a7ec81cfb9202b58fe74601e5178d5d1322
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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="
|
|
56
|
-
{
|
|
57
|
-
<
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
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
|
-
<
|
|
51
|
-
<
|
|
52
|
-
{
|
|
53
|
-
|
|
54
|
-
|
|
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
|
-
{
|
|
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
|
-
{
|
|
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
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
</
|
|
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
|
-
{
|
|
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
|
-
{
|
|
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
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
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 }}"><
|
|
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
|
|
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
|
|
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
|
|
2
|
-
|
|
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
|
-
{
|
|
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 -%}
|
|
@@ -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="
|
|
59
|
-
<
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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="
|
|
67
|
-
<div class="
|
|
68
|
-
<div class="accordion-
|
|
69
|
-
<
|
|
70
|
-
<
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
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>
|
data/_layouts/base/default.html
CHANGED
|
@@ -17,52 +17,18 @@
|
|
|
17
17
|
|
|
18
18
|
{% include base/event.html.liquid %}
|
|
19
19
|
|
|
20
|
-
{%
|
|
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
|
-
{%
|
|
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
|
-
{%
|
|
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
|
-
{%
|
|
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
|
-
{%
|
|
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
|
-
{%
|
|
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>
|