disco-jekyll-theme 0.0.12 → 0.0.13

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: 2a1050e310b9ce479d478bf03f2eacb6a82b04bda44c727fe1115cd1de8f974c
4
- data.tar.gz: 6e295d88a89a59c1b9648446b55833c34e4140266b1efa71f6837c3351627105
3
+ metadata.gz: 6f2a2ab6abb0b6991490e95f3506a7014673a19041a8be28c524e1d985af6bd4
4
+ data.tar.gz: a91797c1eca56aea765a1d5265142a8773d398cfad45fae58615ec18ccfaeed4
5
5
  SHA512:
6
- metadata.gz: 1147ad4e7d6d89488740cf702203a9815082f236304e0b1950e436b880c3ef1307a59085f73e1a7c7b8a841b7db05ab86e73e90e995d1bfc57d48d73141b4ca9
7
- data.tar.gz: 77938cb62a2b0f815cfb6d1ce04e2104de9a0fb3dcbd408b152facf881413ca6c013732f0247d2cd65b54b9769935d497efd0a9cc0fdbe3bd93176fd5d503220
6
+ metadata.gz: c87f6091d115a184a6f15ae6dda453d74961a7fc1e8fb7f2a090e472e35f01efe2ecefb8cdab4b089ae7e54060b37d0de0cb1decdda46deee6b4918484c65544
7
+ data.tar.gz: 38ebb985c66ea4333d3defa9d6d5ba21d5d2fc75bf788e9c033964742eb7bfda2ce5e83f1f7bcdac2d4761a068479d083a49a0bf8f032afa7e8b603232af8cae
checksums.yaml.gz.sig CHANGED
@@ -1 +1,2 @@
1
- 2��5s?�0$�z�j{:Ӝ~� ������-��eva�7
1
+ _�6�Ѕml TQ��Q�2���7q�_x��aNr0|�X�%,��f ��ڦ���.��x罹!�{TT��7�����7�5�>E����2��<��F��k�.1���Ҵ�PI@F���3�W����O�E!���"3``#U
2
+ ���6U�>���{�b��H�¸��Cp4DR����V��=�n�C���ĺFL":�0�n�[��i�p�[rFÖ�C�����̾�te + ��o[_��T�g��2���^C7�T2/��o�3Dk�͝I� ��Z=���k��͟]Lஜ|ڂ���m�O�湿��a�-�,{���鷑��
@@ -10,6 +10,7 @@ title:
10
10
  en: ""
11
11
  tagline:
12
12
  type: "string"
13
+ required: true
13
14
  label:
14
15
  es: "Bajada"
15
16
  en: "Tagline"
@@ -49,6 +49,51 @@ categories:
49
49
  help:
50
50
  es: ""
51
51
  en: ""
52
+ header_alignment:
53
+ type: "new_predefined_value"
54
+ label:
55
+ es: "Alineado para la cabecera"
56
+ en: "Header alignment"
57
+ help:
58
+ es: ""
59
+ en: ""
60
+ default:
61
+ es: "start"
62
+ en: "start"
63
+ values:
64
+ start:
65
+ es: "Izquierda"
66
+ en: "Left"
67
+ center:
68
+ es: "Centro"
69
+ en: "Center"
70
+ end:
71
+ es: "Derecha"
72
+ en: "Right"
73
+ background_image:
74
+ type: "image"
75
+ path:
76
+ label:
77
+ es: "Imagen de fondo"
78
+ en: "Background image"
79
+ help:
80
+ es: ""
81
+ en: ""
82
+ description:
83
+ label:
84
+ es: "Descripción de la imagen"
85
+ en: "Image description"
86
+ help:
87
+ es: "Describí la imagen por razones de accesibilidad e indexacion en buscadores"
88
+ en: "Describe the image for accesibility purposes and for indexation in search engines"
89
+ hide_sidemenu:
90
+ type: "boolean"
91
+ label:
92
+ es: "Ocultar la barra lateral"
93
+ en: "Hide sidemenu"
94
+ help:
95
+ es: ""
96
+ en: ""
52
97
  locales:
53
98
  type: "locales"
54
99
  label:
@@ -5,6 +5,7 @@ title:
5
5
  type: string
6
6
  tagline:
7
7
  type: string
8
+ default: ''
8
9
  content_class:
9
10
  type: string
10
11
  default: ''
@@ -15,7 +16,11 @@ content:
15
16
  {% render "sutty/picture.html", image: %}
16
17
  <div class="bg-gray-light px-64px py-35px">
17
18
  <h1 class="text-primary fw-bolder lh-1">{{ title }}</h1>
18
- <h2 class="text-primary fs-2 fw-bold lh-1 mb-3">{{ tagline }}</h2>
19
+
20
+ {%- if tagline -%}
21
+ <h2 class="text-primary fs-2 fw-bold lh-1 mb-3">{{ tagline }}</h2>
22
+ {%- endif -%}
23
+
19
24
  <div class="content {{content_class}} fw-bold text-body-color">
20
25
  {{- content -}}
21
26
  </div>
data/_layouts/page.html CHANGED
@@ -1,10 +1,20 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
+ {% if page.background_image.path %}
5
+ <style>
6
+ body {
7
+ background-image: url("{{ page.background_image.path | component_escape }}");
8
+ background-position: center;
9
+ background-repeat: no-repeat;
10
+ }
11
+ </style>
12
+ {% endif %}
13
+
4
14
  <article data-pagefind-body lang="{{ site.locale }}" class="row">
5
15
  <meta data-pagefind-meta="indexed[content]" content="{{ page.indexed.url }}">
6
16
 
7
- <div class="order-1 order-lg-0 col-12 col-lg-8 col-xxl-9">
17
+ <div class="order-1 order-lg-0 col-12 {{ page.hide_sidemenu | value_if: 'col-lg-8 col-xxl-9' }} text-{{ page.header_alignment | default: 'start' }}">
8
18
  {% if page.image.path %}
9
19
  {% render 'sutty/picture.html', image: page.image %}
10
20
  {% endif %}
@@ -18,66 +28,68 @@ layout: default
18
28
  </div>
19
29
  </div>
20
30
 
21
- <div data-pagefind-ignore class="order-0 order-lg-1 col-12 col-lg-4 col-xxl-3 border-top border-white">
22
- {%- assign a_class = 'text-body text-decoration-none font-family-content' -%}
23
- {%- assign has_more = site.about.edit_url | append: site.about.history_url | presence -%}
31
+ {% unless page.hide_sidemenu %}
32
+ <aside data-pagefind-ignore class="order-0 order-lg-1 col-12 col-lg-4 col-xxl-3 border-top border-white">
33
+ {%- assign a_class = 'text-body text-decoration-none font-family-content' -%}
34
+ {%- assign has_more = site.about.edit_url | append: site.about.history_url | presence -%}
24
35
 
25
- {%- if has_more -%}
26
- {%- assign page_id = page.name | split: '.' | first -%}
36
+ {%- if has_more -%}
37
+ {%- assign page_id = page.name | split: '.' | first -%}
27
38
 
28
- {% block "bootstrap/details.html", title: site.i18n.more %}
29
- <ul class="list-unstyled mb-0">
30
- {%- if site.about.edit_url -%}
31
- {%- assign edit_url = site.about.edit_url
32
- | replace: ':id', page_id
33
- | replace: ':name', page.name
34
- | replace: ':locale', site.locale
35
- -%}
36
- <li>
37
- {%- render 'sutty/a.html', content: site.i18n.edit, class: a_class, href: edit_url -%}
38
- </li>
39
- {%- endif -%}
39
+ {% block "bootstrap/details.html", title: site.i18n.more %}
40
+ <ul class="list-unstyled mb-0">
41
+ {%- if site.about.edit_url -%}
42
+ {%- assign edit_url = site.about.edit_url
43
+ | replace: ':id', page_id
44
+ | replace: ':name', page.name
45
+ | replace: ':locale', site.locale
46
+ -%}
47
+ <li>
48
+ {%- render 'sutty/a.html', content: site.i18n.edit, class: a_class, href: edit_url -%}
49
+ </li>
50
+ {%- endif -%}
40
51
 
41
- {%- if site.about.history_url -%}
42
- {%- assign history_url = site.about.history_url
43
- | replace: ':id', page_id
44
- | replace: ':name', page.name
45
- | replace: ':locale', site.locale
46
- -%}
47
- <li>
48
- {%- render 'sutty/a.html', content: site.i18n.history, class: a_class, href: history_url -%}
49
- </li>
50
- {%- endif -%}
51
- </ul>
52
- {% endblock %}
53
- {%- endif -%}
52
+ {%- if site.about.history_url -%}
53
+ {%- assign history_url = site.about.history_url
54
+ | replace: ':id', page_id
55
+ | replace: ':name', page.name
56
+ | replace: ':locale', site.locale
57
+ -%}
58
+ <li>
59
+ {%- render 'sutty/a.html', content: site.i18n.history, class: a_class, href: history_url -%}
60
+ </li>
61
+ {%- endif -%}
62
+ </ul>
63
+ {% endblock %}
64
+ {%- endif -%}
54
65
 
55
- {%- assign toc_items = content | table_of_contents -%}
66
+ {%- assign toc_items = content | table_of_contents: 3 -%}
56
67
 
57
- {% unless toc_items == empty %}
58
- {% block "bootstrap/details.html", title: site.i18n.toc %}
59
- <ul class="list-unstyled mb-0">
60
- {% for item in toc_items %}
61
- <li>
62
- <a href="{{page.url}}#{{item.id}}" data-turbo="false" class="{{ a_class }}">
63
- {{- item.title -}}
64
- </a>
65
- </li>
66
- {% endfor %}
67
- </ul>
68
- {% endblock %}
69
- {% endunless %}
68
+ {% unless toc_items == empty %}
69
+ {% block "bootstrap/details.html", title: site.i18n.toc %}
70
+ <ul class="list-unstyled mb-0">
71
+ {% for item in toc_items %}
72
+ <li>
73
+ <a href="{{page.url}}#{{item.id}}" data-turbo="false" class="{{ a_class }}">
74
+ {{- item.title -}}
75
+ </a>
76
+ </li>
77
+ {% endfor %}
78
+ </ul>
79
+ {% endblock %}
80
+ {% endunless %}
70
81
 
71
- {% unless page.categories == empty %}
72
- {% block "bootstrap/details.html", title: site.i18n.categories.title %}
73
- <ul class="list-unstyled mb-0">
74
- {% for category in page.categories %}
75
- <li>
76
- <a href="{{ category.url }}" class="{{ a_class }}">{{ category.title }}</a>
77
- </li>
78
- {% endfor %}
79
- </ul>
80
- {% endblock %}
81
- {% endunless %}
82
- </div>
82
+ {% unless page.categories == empty %}
83
+ {% block "bootstrap/details.html", title: site.i18n.categories.title %}
84
+ <ul class="list-unstyled mb-0">
85
+ {% for category in page.categories %}
86
+ <li>
87
+ <a href="{{ category.url }}" class="{{ a_class }}">{{ category.title }}</a>
88
+ </li>
89
+ {% endfor %}
90
+ </ul>
91
+ {% endblock %}
92
+ {% endunless %}
93
+ </aside>
94
+ {% endunless %}
83
95
  </article>
data/_layouts/post.html CHANGED
@@ -36,7 +36,7 @@ layout: default
36
36
  </div>
37
37
  </div>
38
38
 
39
- <div data-pagefind-ignore class="order-0 order-lg-1 col-12 col-lg-4 col-xxl-3 border-top border-white">
39
+ <aside data-pagefind-ignore class="order-0 order-lg-1 col-12 col-lg-4 col-xxl-3 border-top border-white">
40
40
  {%- assign a_class = 'text-body text-decoration-none font-family-content' -%}
41
41
  {%- assign has_more = site.about.edit_url | append: site.about.history_url | presence -%}
42
42
  {%- assign menu_items = page.menu_items | order %}
@@ -77,7 +77,7 @@ layout: default
77
77
  {% endblock %}
78
78
  {%- endif -%}
79
79
 
80
- {%- assign toc_items = content | table_of_contents -%}
80
+ {%- assign toc_items = content | table_of_contents: 3 -%}
81
81
 
82
82
  {% unless toc_items == empty %}
83
83
  {% block "bootstrap/details.html", title: site.i18n.toc %}
@@ -104,5 +104,5 @@ layout: default
104
104
  </ul>
105
105
  {% endblock %}
106
106
  {% endunless %}
107
- </div>
107
+ </aside>
108
108
  </article>
data.tar.gz.sig CHANGED
@@ -1 +1,3 @@
1
- ��?��m���Z�2�{Q�$�gd]�jXd�Y O0F����ϥC�輽��@܋���$��3h�<D�����ap���zܩTM�P�|/�~���Ͽ�G>,h�8�Y��.C%Ԕt���'��w��(�qh��@f'������*�]��[��E�,XVKI���L|LC5�k��!���'���#�F�R��P��G��.�2>y��:���sx��g����Y���5��t��-*9���?�ًm�Iä(n����Ɍ�d_�S]Am�y���pĖg⠦q&��5�94�����^��**E|��Ii������)�k�m�5k�f�B��[X��[Z$ ��}6��l0�,�D;�#}�N�����U:�1�){�*�4��:
1
+ �b!��t�m��/�q-�"��?��'�$b Vվ��krp7 [�L�
2
+ CM2B2'Y����I>�X���!���p^ ��}�և�o,�7�Y��%�R�^���z*SwFA�m�?I�"Lu�M�w�6�ZG��|�>��jMM.5ߕti
3
+ �Ɉ��g�V��|p~#2/���9l��W���#�4����vְ����з� ��C����:��LT�y��)��ε�1��N�3���&�d��l�6�lwY��#v���ōߢ]��"��V�5U$�Q�6+�qK���^&|��e���#Ŧ�Hf\�]n�<�����]8O=�\<�b+��VmuS�����n� �¨��j�D���{IW�9װ�ũ��9�: ��T�
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: disco-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sutty
@@ -35,7 +35,7 @@ cert_chain:
35
35
  cpurTQHNJfL/ah+9dYbgDXdG5HAAjRMAsWSvERw95YdN9XzQZCdUk5wUs+A6cNtO
36
36
  AZZUMTVYNx8JqUeemxlXBRjsD/s=
37
37
  -----END CERTIFICATE-----
38
- date: 2025-09-04 00:00:00.000000000 Z
38
+ date: 2025-10-14 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: jekyll
metadata.gz.sig CHANGED
Binary file