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 +4 -4
- checksums.yaml.gz.sig +2 -1
- data/_data/layouts/about.yml +1 -0
- data/_data/layouts/page.yml +45 -0
- data/_includes/page_card.html +6 -1
- data/_layouts/page.html +69 -57
- data/_layouts/post.html +3 -3
- data.tar.gz.sig +3 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f2a2ab6abb0b6991490e95f3506a7014673a19041a8be28c524e1d985af6bd4
|
4
|
+
data.tar.gz: a91797c1eca56aea765a1d5265142a8773d398cfad45fae58615ec18ccfaeed4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c87f6091d115a184a6f15ae6dda453d74961a7fc1e8fb7f2a090e472e35f01efe2ecefb8cdab4b089ae7e54060b37d0de0cb1decdda46deee6b4918484c65544
|
7
|
+
data.tar.gz: 38ebb985c66ea4333d3defa9d6d5ba21d5d2fc75bf788e9c033964742eb7bfda2ce5e83f1f7bcdac2d4761a068479d083a49a0bf8f032afa7e8b603232af8cae
|
checksums.yaml.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
2��
|
1
|
+
_�6�ЅmlTQ��Q�2���7q�_x��aN�r0|�X�%,��f ��ڦ���.��x罹!�{T�T��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�-�,{���鷑��
|
data/_data/layouts/about.yml
CHANGED
data/_data/layouts/page.yml
CHANGED
@@ -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:
|
data/_includes/page_card.html
CHANGED
@@ -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
|
-
|
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
|
-
|
22
|
-
|
23
|
-
|
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
|
-
|
26
|
-
|
36
|
+
{%- if has_more -%}
|
37
|
+
{%- assign page_id = page.name | split: '.' | first -%}
|
27
38
|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
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
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
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
|
-
|
66
|
+
{%- assign toc_items = content | table_of_contents: 3 -%}
|
56
67
|
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
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
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
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
|
-
<
|
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
|
-
</
|
107
|
+
</aside>
|
108
108
|
</article>
|
data.tar.gz.sig
CHANGED
@@ -1 +1,3 @@
|
|
1
|
-
|
1
|
+
�b!��t�m��/�q-�"��?��'�$bVվ��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.
|
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-
|
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
|