jekyll-theme-centos 2.52.0.beta.108 → 2.52.0

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: fe2f96e7b329d5e1c1a3030dc13e717ca65ea8da370afce942f4c8ef8aebe7c7
4
- data.tar.gz: df9036aa18e8664ea87c6291698d776291b7ae36f8d14ff6af22f1981f26d6fa
3
+ metadata.gz: 964cc27d73e0ccd8456e91a703c48be5f314dbe8c2b8e8cd2c0364d4f340cb07
4
+ data.tar.gz: 30975543908df181c49d28245f5ba138b0936fffd1dd457c7fc555ee404d20ee
5
5
  SHA512:
6
- metadata.gz: e325b321875c0e716ea67effc91e76598204c9a364ddf0df2948e0e738eb51d18a7e65e5a3f9c36623e70aa87fa6ac30520aec44555428eadeaf3e0d40af72a7
7
- data.tar.gz: 1ed72ddbd7e7533fa8a0b9908cb5309c48be92a29c293506d84f7f0423b310f177fc6ab00c09289abebeafd0a8aa62fcbe7149bb28780954fa0c606c7b5966a4
6
+ metadata.gz: 7674b9f83ac421870a147bf505b120c4c898cb674889f181825d55637697e42b3cb88fdca674c8a15addcf47fce126a0da16dbc7e52cb76088d3309d25148046
7
+ data.tar.gz: e29676a02232de5b42bbc05e9a0733a082bb4dfac0b1d4190ece0713cdc4356e3c36ffca202010223519088014cf693cdb3064ba55aff6438403e5056135517c
data/_config.yml CHANGED
@@ -168,15 +168,15 @@ permalink: /:path/:basename/
168
168
  # -------------------------------------------------------------------------------
169
169
  # Plugins
170
170
  # -------------------------------------------------------------------------------
171
- with_link_decorator: true
172
- with_link_decorator_data:
171
+ jekyll_link_decorator:
172
+ enabled: true
173
173
  default_link_classes: "link link-offset-2 link-offset-2-hover link-underline link-underline-opacity-0 link-underline-opacity-100-hover focus-ring"
174
174
  alert_link_classes: "alert-link focus-ring"
175
175
  external_link_icon: true
176
176
  external_link_icon_excluded_tags:
177
177
  - img
178
-
179
- with_heading_anchor: true
178
+ heading_anchor:
179
+ enabled: true
180
180
 
181
181
  with_minify: true
182
182
  with_minify_data:
@@ -3,25 +3,33 @@ title: Heading Anchor Component Configuration
3
3
  description: >
4
4
  Configuration for the first-class heading anchor feature of jekyll-link-decorator.
5
5
  Each heading (h1–h6) receives a permalink: an anchor with a hover/focus-revealed
6
- glyph, linking to the heading itself.
6
+ glyph, linking to the heading itself. The plugin reads these settings from the
7
+ site's `_config.yml` only, under `jekyll_link_decorator.heading_anchor`.
7
8
  type: object
8
9
  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:
10
+ jekyll_link_decorator:
14
11
  type: object
15
- description: Configuration for heading anchor appearance.
12
+ description: Site-wide jekyll-link-decorator settings in `_config.yml`.
16
13
  properties:
17
- icon:
18
- type: string
19
- description: >
20
- CSS classes applied to the anchor's glyph element. Defaults to a plain
21
- "#" character rendered via the .heading-anchor-hash class.
22
- default: "heading-anchor-hash"
23
- icon_size:
24
- type: string
25
- description: Font Awesome size modifier appended after the icon classes.
26
- additionalProperties: false
14
+ heading_anchor:
15
+ type: object
16
+ description: Heading anchor injection and appearance.
17
+ properties:
18
+ enabled:
19
+ type: boolean
20
+ description: >
21
+ Enable or disable automatic heading anchor injection. The plugin
22
+ leaves anchors off when this is absent; jekyll-theme-centos turns
23
+ them on in its bundled `_config.yml`.
24
+ default: false
25
+ icon:
26
+ type: string
27
+ description: >
28
+ CSS classes applied to the anchor's glyph element. Defaults to a plain
29
+ "#" character rendered via the .heading-anchor-hash class.
30
+ default: "heading-anchor-hash"
31
+ icon_size:
32
+ type: string
33
+ description: Font Awesome size modifier appended after the icon classes.
34
+ additionalProperties: false
27
35
  additionalProperties: false
@@ -54,7 +54,7 @@ properties:
54
54
  CSS classes for the link. Set it to replace the default styling,
55
55
  for example with button classes (`btn btn-primary btn-lg`). When
56
56
  you don't set it, the link copies the site's Markdown link
57
- classes (`with_link_decorator_data.default_link_classes` in
57
+ classes (`jekyll_link_decorator.default_link_classes` in
58
58
  `_config.yml`) and uses `color` for the text and underline, so
59
59
  both kinds of links look the same. Sites without that setting
60
60
  get this property's default, with `color` filled in.
@@ -36,7 +36,7 @@ Schema: src/YAML/breadcrumb_schema.yml
36
36
  <div class="{{ column_class }}">
37
37
  <nav class="small" aria-label="{{ with_breadcrumb_data.arialabel | default: with_breadcrumb_schema.arialabel.default }}">
38
38
  <ol class="breadcrumb mb-0">
39
- <li class="breadcrumb-item"><a class="{{ site.with_link_decorator_data.default_link_classes }}" href="{{ site.baseurl }}{{ crumb_prefix }}/">Home</a></li>
39
+ <li class="breadcrumb-item"><a class="{{ site.jekyll_link_decorator.default_link_classes }}" href="{{ site.baseurl }}{{ crumb_prefix }}/">Home</a></li>
40
40
 
41
41
  {%- assign crumbs = breadcrumb_url | remove:'/index.html' | split: '/' %}
42
42
  {%- for crumb in crumbs offset: 1 %}
@@ -44,7 +44,7 @@ Schema: src/YAML/breadcrumb_schema.yml
44
44
  <li class="breadcrumb-item active">{{ page.title }}</li>
45
45
  {%- else %}
46
46
  {%- assign crumb_limit = forloop.index | plus: 1 %}
47
- <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: '/' }}{% endfor %}">{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}</a></li>
47
+ <li class="breadcrumb-item"><a class="{{ site.jekyll_link_decorator.default_link_classes }}" href="{{ site.baseurl }}{{ crumb_prefix }}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' }}{% endfor %}">{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}</a></li>
48
48
  {%- endif %}
49
49
  {%- endfor %}
50
50
  </ol>
@@ -48,9 +48,9 @@ Schema: src/YAML/link_schema.yml
48
48
 
49
49
  {%- if class != nil -%}
50
50
  {%- assign link_class = class %}
51
- {%- elsif site.with_link_decorator_data.default_link_classes -%}
51
+ {%- elsif site.jekyll_link_decorator.default_link_classes -%}
52
52
  {%- comment %} Start from the site's Markdown link classes so both kinds of links look the same; `color` sets the text and underline color. {% endcomment %}
53
- {%- assign link_class_tokens = site.with_link_decorator_data.default_link_classes | split: " " %}
53
+ {%- assign link_class_tokens = site.jekyll_link_decorator.default_link_classes | split: " " %}
54
54
  {%- assign link_class = "" %}
55
55
  {%- assign link_color_emitted = false %}
56
56
  {%- assign link_underline_emitted = false %}
@@ -14,7 +14,7 @@ Schema: src/YAML/toc_schema.yml
14
14
  {%- assign class = with_toc_data.class | default: with_toc_schema["class"].default %}
15
15
  {%- assign id = with_toc_data.id | default: with_toc_schema["id"].default %}
16
16
  {%- assign item_class = with_toc_data.item_class | default: with_toc_schema["item_class"].default %}
17
- {%- assign anchor_class = with_toc_data.anchor_class | default: with_toc_schema["anchor_class"].default | default: site.with_link_decorator_data.default_link_classes %}
17
+ {%- assign anchor_class = with_toc_data.anchor_class | default: with_toc_schema["anchor_class"].default | default: site.jekyll_link_decorator.default_link_classes %}
18
18
  {%- assign h_min = with_toc_data.h_min | default: with_toc_schema["h_min"].default %}
19
19
  {%- assign h_max = with_toc_data.h_max | default: with_toc_schema["h_max"].default %}
20
20
  {%- assign ordered = with_toc_data.ordered | default: with_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.108
4
+ version: 2.52.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alain Reguera Delgado