compost-jekyll-theme 0.4.3 → 0.4.4
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/_data/en.yml +56 -56
- data/_data/es.yml +55 -55
- data/_data/fixtures/activity_pub/activities/sutty.yml +19 -17
- data/_data/fixtures/activity_pub/likes.yml +18 -18
- data/_data/fixtures/activity_pub/replies.yml +444 -421
- data/_data/fixtures/activity_pub/shared.yml +65 -65
- data/_data/fixtures/activity_pub/users/cibor_yogui.yml +49 -49
- data/_data/fixtures/activity_pub/users/edumerco.yml +64 -62
- data/_data/fixtures/activity_pub/users/f.yml +65 -62
- data/_data/fixtures/activity_pub/users/sutty.yml +63 -60
- data/_data/layouts/about.yml +20 -20
- data/_data/layouts/author.yml +2 -2
- data/_data/layouts/back_cover.yml +2 -2
- data/_data/layouts/button.yml +2 -2
- data/_data/layouts/button_copy.yml +2 -2
- data/_data/layouts/code_of_conduct.yml +2 -2
- data/_data/layouts/footer.yml +2 -2
- data/_data/layouts/front_cover.yml +2 -2
- data/_data/layouts/goal.yml +2 -2
- data/_data/layouts/license.yml +2 -2
- data/_data/layouts/menu.yml +10 -10
- data/_data/layouts/post.yml +5 -5
- data/_data/layouts/privacy_policy.yml +2 -2
- data/_data/layouts/support.yml +2 -2
- data/_data/layouts/supporter.yml +2 -2
- data/_data/layouts/theme.yml +65 -41
- data/_data/placeholder.yml +2 -2
- data/_data/schema.yml +10 -10
- data/_data/theme.yml +54 -54
- data/_includes/author_block.html +7 -8
- data/_includes/biography.html +3 -4
- data/_includes/bootstrap/custom_select.html +6 -7
- data/_includes/btn_header.html +8 -9
- data/_includes/buttons/with_copy.html +6 -7
- data/_includes/buttons/with_link.html +8 -9
- data/_includes/card_horizontal.html +6 -7
- data/_includes/cover_post/generic.html +26 -25
- data/_includes/cover_post/home.html +9 -9
- data/_includes/cover_post/menu.html +16 -15
- data/_includes/date.html +4 -3
- data/_includes/details.html +17 -18
- data/_includes/device_detector.html +19 -8
- data/_includes/divider.html +6 -7
- data/_includes/embed_responsive.html +13 -11
- data/_includes/external_link.html +10 -10
- data/_includes/fa.html +11 -6
- data/_includes/footer.html +10 -13
- data/_includes/goal.html +20 -12
- data/_includes/header.html +20 -17
- data/_includes/header_toggler.html +28 -28
- data/_includes/headings/generic.html +4 -5
- data/_includes/headings/h1.html +3 -4
- data/_includes/headings/h2.html +3 -4
- data/_includes/headings/h3.html +3 -4
- data/_includes/headings/with_link.html +4 -5
- data/_includes/image_with_link.html +18 -16
- data/_includes/license_block.html +7 -5
- data/_includes/menu_close.html +4 -5
- data/_includes/menu_item.html +4 -5
- data/_includes/menu_open.html +4 -5
- data/_includes/navigation_post.html +32 -30
- data/_includes/picture.html +11 -10
- data/_includes/script.html +1 -1
- data/_includes/text_link.html +5 -6
- data/_includes/theme/author_block.html +1 -1
- data/_includes/theme/biography.html +1 -3
- data/_includes/theme/card_horizontal.html +2 -1
- data/_includes/theme/cards.html +6 -5
- data/_includes/theme/colors.html +1 -1
- data/_includes/theme/content.html +9 -9
- data/_includes/theme/embed_responsive.html +3 -3
- data/_includes/theme/font_sizes.html +6 -10
- data/_includes/theme/footer.html +2 -1
- data/_includes/theme/header_close.html +14 -13
- data/_includes/theme/header_open.html +14 -13
- data/_includes/theme/header_toggler.html +11 -9
- data/_includes/theme/llamar_modal.html +3 -7
- data/_includes/theme/modal_ayuda.html +1 -1
- data/_includes/theme/modal_imagen.html +2 -4
- data/_includes/theme/modal_video.html +2 -4
- data/_includes/theme/reactions.html +4 -1
- data/_includes/theme/toot_card.html +4 -3
- data/_includes/toggler/toggler.html +3 -2
- data/_includes/toggler/toggler_label.html +2 -1
- data/_includes/toggler/toggler_related.html +2 -1
- data/_layouts/about.html +2 -3
- data/_layouts/back_cover.html +11 -10
- data/_layouts/code_of_conduct.html +3 -3
- data/_layouts/default.html +27 -16
- data/_layouts/default_with_menu.html +7 -6
- data/_layouts/home.html +33 -32
- data/_layouts/license.html +3 -3
- data/_layouts/page.html +0 -1
- data/_layouts/post.html +1 -1
- data/_layouts/privacy_policy.html +3 -3
- data/_layouts/support.html +28 -27
- data/_layouts/theme.html +0 -1
- data/_sass/content.scss +25 -10
- data/_sass/details.scss +24 -22
- data/_sass/open_sans.scss +36 -20
- data/_sass/open_sans_wght_700.scss +36 -20
- data/_sass/roboto_ital_wght_0_100_0_300_0_400_0_500_0_700_0_900_1_100_1_300_1_400_1_500_1_700_1_900.scss +418 -228
- data/_sass/roboto_mono_ital_wght_0_400_0_700_1_400_1_700.scss +12 -8
- data/_sass/source_serif_4_ital_wght_0_400_0_700_1_400_1_700.scss +8 -8
- data/_sass/utilities.scss +60 -21
- data/_sass/work_sans_ital_wght_1_300.scss +3 -2
- metadata +2 -2
data/_data/layouts/theme.yml
CHANGED
@@ -22,16 +22,16 @@ font_family_sans_serif:
|
|
22
22
|
values:
|
23
23
|
en:
|
24
24
|
"": "Default"
|
25
|
-
Roboto: "Roboto"
|
26
|
-
Open Sans: "Open Sans"
|
27
|
-
Work Sans: "Work Sans"
|
28
|
-
Source Serif 4: "Source Serif 4"
|
25
|
+
'Roboto, sans-serif': "Roboto"
|
26
|
+
'"Open Sans", sans-serif': "Open Sans"
|
27
|
+
'"Work Sans", sans-serif': "Work Sans"
|
28
|
+
'"Source Serif 4", serif': "Source Serif 4"
|
29
29
|
es:
|
30
30
|
"": "Default"
|
31
|
-
Roboto: "Roboto"
|
32
|
-
Open Sans: "Open Sans"
|
33
|
-
Work Sans: "Work Sans"
|
34
|
-
Source Serif 4: "Source Serif 4"
|
31
|
+
'Roboto, sans-serif': "Roboto"
|
32
|
+
'"Open Sans", sans-serif': "Open Sans"
|
33
|
+
'"Work Sans", sans-serif': "Work Sans"
|
34
|
+
'"Source Serif 4", serif': "Source Serif 4"
|
35
35
|
font_family_monospace:
|
36
36
|
type: "predefined_value"
|
37
37
|
label:
|
@@ -46,12 +46,12 @@ font_family_monospace:
|
|
46
46
|
values:
|
47
47
|
en:
|
48
48
|
"": "Default"
|
49
|
-
Roboto Mono: "Roboto Mono"
|
50
|
-
Liberation Mono: "Liberation Mono"
|
49
|
+
'"Roboto Mono", monospace': "Roboto Mono"
|
50
|
+
'"Liberation Mono", monospace': "Liberation Mono"
|
51
51
|
es:
|
52
52
|
"": "Default"
|
53
|
-
Roboto Mono: "Roboto Mono"
|
54
|
-
Liberation Mono: "Liberation Mono"
|
53
|
+
'"Roboto Mono", monospace': "Roboto Mono"
|
54
|
+
'"Liberation Mono", monospace': "Liberation Mono"
|
55
55
|
headings_font_family:
|
56
56
|
type: "predefined_value"
|
57
57
|
label:
|
@@ -66,16 +66,40 @@ headings_font_family:
|
|
66
66
|
values:
|
67
67
|
en:
|
68
68
|
"": "Default"
|
69
|
-
Roboto: "Roboto"
|
70
|
-
Open Sans: "Open Sans"
|
71
|
-
Work Sans: "Work Sans"
|
72
|
-
Source Serif 4: "Source Serif 4"
|
69
|
+
'Roboto, sans-serif': "Roboto"
|
70
|
+
'"Open Sans", sans-serif': "Open Sans"
|
71
|
+
'"Work Sans", sans-serif': "Work Sans"
|
72
|
+
'"Source Serif 4", serif': "Source Serif 4"
|
73
73
|
es:
|
74
74
|
"": "Default"
|
75
|
-
Roboto: "Roboto"
|
76
|
-
Open Sans: "Open Sans"
|
77
|
-
Work Sans: "Work Sans"
|
78
|
-
Source Serif 4: "Source Serif 4"
|
75
|
+
'Roboto, sans-serif': "Roboto"
|
76
|
+
'"Open Sans", sans-serif': "Open Sans"
|
77
|
+
'"Work Sans", sans-serif': "Work Sans"
|
78
|
+
'"Source Serif 4", serif': "Source Serif 4"
|
79
|
+
font_family_content:
|
80
|
+
type: "predefined_value"
|
81
|
+
label:
|
82
|
+
en: "Select a typography for posts' content"
|
83
|
+
es: "Selecciona una tipografía para el contenido de un artículo"
|
84
|
+
help:
|
85
|
+
en: ""
|
86
|
+
es: ""
|
87
|
+
default:
|
88
|
+
en: ""
|
89
|
+
es: ""
|
90
|
+
values:
|
91
|
+
en:
|
92
|
+
"": "Default"
|
93
|
+
'Roboto, sans-serif': "Roboto"
|
94
|
+
'"Open Sans", sans-serif': "Open Sans"
|
95
|
+
'"Work Sans", sans-serif': "Work Sans"
|
96
|
+
'"Source Serif 4", serif': "Source Serif 4"
|
97
|
+
es:
|
98
|
+
"": "Default"
|
99
|
+
'Roboto, sans-serif': "Roboto"
|
100
|
+
'"Open Sans", sans-serif': "Open Sans"
|
101
|
+
'"Work Sans", sans-serif': "Work Sans"
|
102
|
+
'"Source Serif 4", serif': "Source Serif 4"
|
79
103
|
font_family_primary:
|
80
104
|
type: "predefined_value"
|
81
105
|
label:
|
@@ -90,16 +114,16 @@ font_family_primary:
|
|
90
114
|
values:
|
91
115
|
en:
|
92
116
|
"": "Default"
|
93
|
-
Roboto: "Roboto"
|
94
|
-
Open Sans: "Open Sans"
|
95
|
-
Work Sans: "Work Sans"
|
96
|
-
Source Serif 4: "Source Serif 4"
|
117
|
+
'Roboto, sans-serif': "Roboto"
|
118
|
+
'"Open Sans", sans-serif': "Open Sans"
|
119
|
+
'"Work Sans", sans-serif': "Work Sans"
|
120
|
+
'"Source Serif 4", serif': "Source Serif 4"
|
97
121
|
es:
|
98
122
|
"": "Default"
|
99
|
-
Roboto: "Roboto"
|
100
|
-
Open Sans: "Open Sans"
|
101
|
-
Work Sans: "Work Sans"
|
102
|
-
Source Serif 4: "Source Serif 4"
|
123
|
+
'Roboto, sans-serif': "Roboto"
|
124
|
+
'"Open Sans", sans-serif': "Open Sans"
|
125
|
+
'"Work Sans", sans-serif': "Work Sans"
|
126
|
+
'"Source Serif 4", serif': "Source Serif 4"
|
103
127
|
font_family_secondary:
|
104
128
|
type: "predefined_value"
|
105
129
|
label:
|
@@ -114,16 +138,16 @@ font_family_secondary:
|
|
114
138
|
values:
|
115
139
|
en:
|
116
140
|
"": "Default"
|
117
|
-
Roboto: "Roboto"
|
118
|
-
Open Sans: "Open Sans"
|
119
|
-
Work Sans: "Work Sans"
|
120
|
-
Source Serif 4: "Source Serif 4"
|
141
|
+
'Roboto, sans-serif': "Roboto"
|
142
|
+
'"Open Sans", sans-serif': "Open Sans"
|
143
|
+
'"Work Sans", sans-serif': "Work Sans"
|
144
|
+
'"Source Serif 4", serif': "Source Serif 4"
|
121
145
|
es:
|
122
146
|
"": "Default"
|
123
|
-
Roboto: "Roboto"
|
124
|
-
Open Sans: "Open Sans"
|
125
|
-
Work Sans: "Work Sans"
|
126
|
-
Source Serif 4: "Source Serif 4"
|
147
|
+
'Roboto, sans-serif': "Roboto"
|
148
|
+
'"Open Sans", sans-serif': "Open Sans"
|
149
|
+
'"Work Sans", sans-serif': "Work Sans"
|
150
|
+
'"Source Serif 4", serif': "Source Serif 4"
|
127
151
|
enable_rounded:
|
128
152
|
type: "boolean"
|
129
153
|
label:
|
@@ -343,9 +367,9 @@ support_image:
|
|
343
367
|
es: "Imagen del botón de donaciones"
|
344
368
|
en: "Donations button image"
|
345
369
|
description:
|
346
|
-
|
347
|
-
|
348
|
-
|
370
|
+
label:
|
371
|
+
es: "Descripción de la imagen"
|
372
|
+
en: "Image description"
|
349
373
|
locales:
|
350
374
|
type: "locales"
|
351
375
|
label:
|
@@ -360,8 +384,8 @@ draft:
|
|
360
384
|
es: "Borrador"
|
361
385
|
en: "Draft"
|
362
386
|
help:
|
363
|
-
es:
|
364
|
-
en:
|
387
|
+
es: 'Al activar "Borrador" este contenido se mantendrá disponible en el panel, pero no se publica en el sitio como los demás contenidos al tocar "Publicar todos los cambios"'
|
388
|
+
en: 'By activating "Draft", this content will remain available on the dashboard, but will not be published on the site when you tap "Publish all changes" (other content which does not have this option selected will).'
|
365
389
|
order:
|
366
390
|
type: "order"
|
367
391
|
label:
|
data/_data/placeholder.yml
CHANGED
@@ -6,6 +6,6 @@ images:
|
|
6
6
|
- url: "public/logo-hypha.png"
|
7
7
|
alt: "Hypha logo"
|
8
8
|
- url: "public/logo-distributedpress_200x35.png"
|
9
|
-
alt: "Distributed Press logo"
|
9
|
+
alt: "Distributed Press logo"
|
10
10
|
videos:
|
11
|
-
- url: "public/placeholder_video.mp4"
|
11
|
+
- url: "public/placeholder_video.mp4"
|
data/_data/schema.yml
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
---
|
2
2
|
organization:
|
3
3
|
theme:
|
4
|
-
|
5
|
-
|
4
|
+
- "about"
|
5
|
+
- "menu"
|
6
6
|
front_cover: []
|
7
7
|
post:
|
8
|
-
|
8
|
+
- "author"
|
9
9
|
back_cover: []
|
10
10
|
support:
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
11
|
+
- "button_copy"
|
12
|
+
- "button"
|
13
|
+
- "goal"
|
14
|
+
- "supporter"
|
15
15
|
footer:
|
16
|
-
|
17
|
-
|
18
|
-
|
16
|
+
- "privacy_policy"
|
17
|
+
- "code_of_conduct"
|
18
|
+
- "license"
|
data/_data/theme.yml
CHANGED
@@ -41,9 +41,9 @@ letter_spacings:
|
|
41
41
|
7: "0.13125rem"
|
42
42
|
8: "0.170625rem"
|
43
43
|
pixel_densities:
|
44
|
-
- "1"
|
45
|
-
- "1.5"
|
46
|
-
- "2"
|
44
|
+
- "1"
|
45
|
+
- "1.5"
|
46
|
+
- "2"
|
47
47
|
grid_breakpoints:
|
48
48
|
xs: "0"
|
49
49
|
sm: "576px"
|
@@ -51,12 +51,12 @@ grid_breakpoints:
|
|
51
51
|
lg: "992px"
|
52
52
|
xl: "1200px"
|
53
53
|
embed_responsive_aspect_ratios:
|
54
|
-
- "(21 9)"
|
55
|
-
- "(16 9)"
|
56
|
-
- "(4 3)"
|
57
|
-
- "(1 1)"
|
58
|
-
- "(700 350)"
|
59
|
-
- "(2 1)"
|
54
|
+
- "(21 9)"
|
55
|
+
- "(16 9)"
|
56
|
+
- "(4 3)"
|
57
|
+
- "(1 1)"
|
58
|
+
- "(700 350)"
|
59
|
+
- "(2 1)"
|
60
60
|
display3_size: "3.9375rem"
|
61
61
|
display4_size: "1.875rem"
|
62
62
|
enable_responsive_font_sizes: true
|
@@ -83,16 +83,16 @@ sizes:
|
|
83
83
|
780px: "780px"
|
84
84
|
1200px: "78rem"
|
85
85
|
directions:
|
86
|
-
- "top"
|
87
|
-
- "left"
|
88
|
-
- "right"
|
89
|
-
- "bottom"
|
86
|
+
- "top"
|
87
|
+
- "left"
|
88
|
+
- "right"
|
89
|
+
- "bottom"
|
90
90
|
svg_attributes:
|
91
|
-
- "fill"
|
92
|
-
- "stroke"
|
91
|
+
- "fill"
|
92
|
+
- "stroke"
|
93
93
|
cursors:
|
94
|
-
- "pointer"
|
95
|
-
- "none"
|
94
|
+
- "pointer"
|
95
|
+
- "none"
|
96
96
|
border_width: "1px"
|
97
97
|
border_widths:
|
98
98
|
1: "1px"
|
@@ -129,12 +129,12 @@ background_sizes:
|
|
129
129
|
auto: "auto"
|
130
130
|
contain: "contain"
|
131
131
|
background_positions_x:
|
132
|
-
- "center"
|
133
|
-
- "top"
|
132
|
+
- "center"
|
133
|
+
- "top"
|
134
134
|
background_positions_y:
|
135
|
-
- "bottom"
|
136
|
-
- "left"
|
137
|
-
- "right"
|
135
|
+
- "bottom"
|
136
|
+
- "left"
|
137
|
+
- "right"
|
138
138
|
code_color: "black"
|
139
139
|
code_font_size: "1rem"
|
140
140
|
code_radius: "8px"
|
@@ -150,41 +150,41 @@ box_shadow: "0px 2px 4px rgba(0, 0, 0, 0.2)"
|
|
150
150
|
footnotes_container_width: 780
|
151
151
|
footnotes_sidenote_width: 220
|
152
152
|
footnotes_footnote_class:
|
153
|
-
- "background-white"
|
154
|
-
- "position-fixed"
|
155
|
-
- "w-100"
|
156
|
-
- "px-3"
|
157
|
-
- "border-top"
|
158
|
-
- "border-black"
|
153
|
+
- "background-white"
|
154
|
+
- "position-fixed"
|
155
|
+
- "w-100"
|
156
|
+
- "px-3"
|
157
|
+
- "border-top"
|
158
|
+
- "border-black"
|
159
159
|
footnotes_footnote_toggled_class:
|
160
|
-
- "py-3"
|
160
|
+
- "py-3"
|
161
161
|
footnotes_sidenote_class:
|
162
|
-
- "position-absolute"
|
163
|
-
- "w-220px"
|
164
|
-
- "f-11"
|
165
|
-
- "ml-40"
|
166
|
-
- "footnote"
|
162
|
+
- "position-absolute"
|
163
|
+
- "w-220px"
|
164
|
+
- "f-11"
|
165
|
+
- "ml-40"
|
166
|
+
- "footnote"
|
167
167
|
footnotes_padding_left: 16
|
168
168
|
chrome_icon_sizes:
|
169
|
-
- 36
|
170
|
-
- 48
|
171
|
-
- 72
|
172
|
-
- 96
|
173
|
-
- 144
|
174
|
-
- 192
|
175
|
-
- 256
|
176
|
-
- 384
|
169
|
+
- 36
|
170
|
+
- 48
|
171
|
+
- 72
|
172
|
+
- 96
|
173
|
+
- 144
|
174
|
+
- 192
|
175
|
+
- 256
|
176
|
+
- 384
|
177
177
|
apple_touch_sizes:
|
178
|
-
- 57
|
179
|
-
- 60
|
180
|
-
- 72
|
181
|
-
- 76
|
182
|
-
- 120
|
183
|
-
- 144
|
184
|
-
- 152
|
185
|
-
- 180
|
178
|
+
- 57
|
179
|
+
- 60
|
180
|
+
- 72
|
181
|
+
- 76
|
182
|
+
- 120
|
183
|
+
- 144
|
184
|
+
- 152
|
185
|
+
- 180
|
186
186
|
msapplication_sizes:
|
187
|
-
- 70
|
188
|
-
- 144
|
189
|
-
- 150
|
190
|
-
- 310
|
187
|
+
- 70
|
188
|
+
- 144
|
189
|
+
- 150
|
190
|
+
- 310
|
data/_includes/author_block.html
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
{%- comment -%}
|
2
|
+
Author block
|
2
3
|
|
3
|
-
|
4
|
-
|
5
|
-
@param :title [String] Alias
|
6
|
-
@param :link [array] link's
|
4
|
+
@param :title [String] Alias
|
5
|
+
@param :link [array] link's
|
7
6
|
{%- endcomment -%}
|
8
7
|
|
9
8
|
{% assign links = include.links %}
|
@@ -12,16 +11,16 @@ Author block
|
|
12
11
|
<div class="">
|
13
12
|
<div class="py-3">
|
14
13
|
<a href="{{include.title.url}}" class="hover-black">
|
15
|
-
|
14
|
+
{% include headings/h3.html text=include.title.alias class="black font-family-secondary font-weight-bold" %}
|
16
15
|
</a>
|
17
16
|
</div>
|
18
17
|
|
19
18
|
{% unless links == empty %}
|
20
19
|
<div class="code text-left p-3 mt-2 mb-2 rounded">
|
21
20
|
{% for link in links %}
|
22
|
-
|
23
|
-
|
24
|
-
|
21
|
+
<li class="list-unstyled">
|
22
|
+
<a class="black hover-white" href="{{- link -}}" target="_blank" rel="noopener">{{ link }}</a>
|
23
|
+
</li>
|
25
24
|
{% endfor %}
|
26
25
|
</div>
|
27
26
|
{% endunless %}
|
data/_includes/biography.html
CHANGED
@@ -1,10 +1,9 @@
|
|
1
1
|
{%- comment -%}
|
2
|
+
La biografía de le autore que aparece al final de los artículos.
|
2
3
|
|
3
|
-
|
4
|
-
|
5
|
-
@param :text [html] El contenido con formato
|
4
|
+
@param :text [html] El contenido con formato
|
6
5
|
{%- endcomment -%}
|
7
6
|
|
8
7
|
<div class="f-14 f-md-19 font-family-primary content font-weight-light font-italic pb-3">
|
9
|
-
|
8
|
+
{{- include.text -}}
|
10
9
|
</div>
|
@@ -1,12 +1,11 @@
|
|
1
1
|
{% comment %}
|
2
|
-
|
3
|
-
@param class [String] Extra classes
|
4
|
-
@param extra [String] Extra attributes
|
5
|
-
@param options [Array<Hash>] Options
|
6
|
-
@param selected [Boolean] Default option
|
2
|
+
@param class [String] Extra classes
|
7
3
|
@param extra [String] Extra attributes
|
8
|
-
@param
|
9
|
-
|
4
|
+
@param options [Array<Hash>] Options
|
5
|
+
@param selected [Boolean] Default option
|
6
|
+
@param extra [String] Extra attributes
|
7
|
+
@param value [String] Value
|
8
|
+
@param title [String] Title
|
10
9
|
{% endcomment %}
|
11
10
|
|
12
11
|
<select class="custom-select {{ include.class }}" {{ include.extra }}>
|
data/_includes/btn_header.html
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
{%- comment -%}
|
2
|
+
Imagen de la cabecera
|
2
3
|
|
3
|
-
|
4
|
-
|
5
|
-
@param :
|
6
|
-
@param :
|
7
|
-
@param :
|
8
|
-
@param :
|
9
|
-
@param :alt [String] El alt de la imagen
|
10
|
-
@param :component_class [String] Clases para el componente
|
4
|
+
@param :src [String]
|
5
|
+
@param :href [String] El link
|
6
|
+
@param :width [Integer] Ancho de la imagen
|
7
|
+
@param :height [Integer] Alto de la imagen
|
8
|
+
@param :alt [String] El alt de la imagen
|
9
|
+
@param :component_class [String] Clases para el componente
|
11
10
|
{%- endcomment -%}
|
12
11
|
|
13
12
|
<div>
|
14
|
-
|
13
|
+
{% include image_with_link.html src=include.src alt=include.alt href=include.href width=include.width height=include.height component_class=include.component_class img_class=include.img_class %}
|
15
14
|
</div>
|
@@ -1,11 +1,9 @@
|
|
1
1
|
{%- comment -%}
|
2
|
+
Un botón con contenido copiable, por ejemplo para Support Us. Si el
|
3
|
+
link es externo, agregar el parámetro de seguridad noopener.
|
2
4
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
@param :copy [String] El texto copiable
|
7
|
-
@param :text [String] El contenido
|
8
|
-
|
5
|
+
@param :copy [String] El texto copiable
|
6
|
+
@param :text [String] El contenido
|
9
7
|
{%- endcomment -%}
|
10
8
|
|
11
9
|
<button
|
@@ -13,7 +11,8 @@ link es externo, agregar el parámetro de seguridad noopener.
|
|
13
11
|
data-button-copy-text-value="{{ include.copy | escape_once }}"
|
14
12
|
data-button-copy-confirmation-value="{{ site.i18n.button_copy.confirmation | replace: "%s", include.copy | escape_once }}"
|
15
13
|
data-action="button-copy#copy"
|
16
|
-
class="btn btn-primary w-100 d-flex align-items-end justify-content-center text-uppercase f-md-17"
|
14
|
+
class="btn btn-primary w-100 d-flex align-items-end justify-content-center text-uppercase f-md-17"
|
15
|
+
>
|
17
16
|
<span data-button-copy-target="text">{{- include.text -}}</span>
|
18
17
|
<span data-button-copy-target="icon" class="pl-2">
|
19
18
|
{%- include svg/copy-icon.svg -%}
|
@@ -1,17 +1,16 @@
|
|
1
1
|
{%- comment -%}
|
2
|
+
Un botón con link, por ejemplo para Support Us. Si el link es externo,
|
3
|
+
agregar el parámetro de seguridad noopener.
|
2
4
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
@param :href [String] El link
|
7
|
-
@param :text [String] El contenido
|
8
|
-
|
5
|
+
@param :href [String] El link
|
6
|
+
@param :text [String] El contenido
|
9
7
|
{%- endcomment -%}
|
10
8
|
|
11
9
|
<a
|
12
10
|
href="{{ include.href | default: "#" }}"
|
13
|
-
{{ include.href | start_with:
|
14
|
-
{{ include.href | start_with:
|
15
|
-
class="btn btn-primary w-100 d-flex align-items-center justify-content-center text-uppercase f-md-17"
|
11
|
+
{{ include.href | start_with: 'https://' | value_if: 'rel="noopener" target="_blank"' }}
|
12
|
+
{{ include.href | start_with: 'http://' | value_if: 'rel="noopener" target="_blank"' }}
|
13
|
+
class="btn btn-primary w-100 d-flex align-items-center justify-content-center text-uppercase f-md-17"
|
14
|
+
>
|
16
15
|
<span>{{- include.text -}}</span>
|
17
16
|
</a>
|
@@ -1,12 +1,11 @@
|
|
1
1
|
{%- comment -%}
|
2
|
+
Card horizontal
|
2
3
|
|
3
|
-
Card
|
4
|
-
|
5
|
-
@param :
|
6
|
-
@param :
|
7
|
-
@param :
|
8
|
-
@param :subtitle [string] Subtítulo
|
9
|
-
@param :content [string] Contenido
|
4
|
+
@param :src [String] Imágen de la Card
|
5
|
+
@param :alt [String] Texto alternativo de la imágen
|
6
|
+
@param :title [String] Título de la Card
|
7
|
+
@param :subtitle [string] Subtítulo
|
8
|
+
@param :content [string] Contenido
|
10
9
|
{%- endcomment -%}
|
11
10
|
<div class="row justify-content-center container-lg mx-auto">
|
12
11
|
{% if include.src %}
|
@@ -1,34 +1,35 @@
|
|
1
1
|
{%- comment -%}
|
2
|
+
La ficha de post en el índice de artículos.
|
2
3
|
|
3
|
-
|
4
|
-
|
5
|
-
@param :
|
6
|
-
@param :
|
7
|
-
@param :
|
8
|
-
@param :
|
9
|
-
@param :
|
10
|
-
@param :
|
11
|
-
@param :
|
12
|
-
@param :author_class [String] Las clases de autorx
|
13
|
-
@param :description_class [String] Las clases de descripción
|
4
|
+
@param :href [String] El link
|
5
|
+
@param :title [String] El título
|
6
|
+
@param :authors [String] Les autorxs
|
7
|
+
@param :description [String] La descripción
|
8
|
+
@param :src [String] La imagen
|
9
|
+
@param :alt [String] La descripción de la imagen
|
10
|
+
@param :title_class [String] Las clases del título
|
11
|
+
@param :author_class [String] Las clases de autorx
|
12
|
+
@param :description_class [String] Las clases de descripción
|
14
13
|
{%- endcomment -%}
|
15
14
|
<div
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
15
|
+
class="position-relative px-2"
|
16
|
+
>
|
17
|
+
<a
|
18
|
+
class="stretched-link black hover-black text-decoration-none"
|
19
|
+
href="{{ include.href | uri_escape }}"
|
20
|
+
{{ include.href | start_with: 'https://' | value_if: 'rel="noopener" target="_blank"' }}
|
21
|
+
{{ include.href | start_with: 'http://' | value_if: 'rel="noopener" target="_blank"' }}
|
22
|
+
>
|
23
|
+
<span class="sr-only">{{ include.alt }}</span>
|
24
|
+
</a>
|
24
25
|
|
25
|
-
|
26
|
+
{% include embed_responsive.html src=include.src width=700 x="700" y="350" alt=include.alt embed_class="shadow" img_class="w-100 h-100 object-fit-cover" %}
|
26
27
|
|
27
|
-
|
28
|
+
{% include headings/h1.html text=include.title class=include.title_class %}
|
28
29
|
|
29
|
-
|
30
|
-
|
31
|
-
|
30
|
+
<p class="{{ include.author_class }}">
|
31
|
+
{{ include.authors | map: 'title' | array_to_sentence_string: site.i18n.and }}
|
32
|
+
</p>
|
32
33
|
|
33
|
-
|
34
|
+
<p class="{{ include.description_class }}">{{- include.description -}}</p>
|
34
35
|
</div>
|
@@ -1,16 +1,16 @@
|
|
1
1
|
{%- comment -%}
|
2
|
+
La ficha de post en el índice de artículos del home.
|
2
3
|
|
3
|
-
|
4
|
-
|
5
|
-
@param :
|
6
|
-
@param :
|
7
|
-
@param :
|
8
|
-
@param :
|
9
|
-
@param :alt [String] La descripción de la imagen
|
10
|
-
@param :description [String] La descripción del post
|
4
|
+
@param :href [String] El link
|
5
|
+
@param :title [String] El título
|
6
|
+
@param :authors [String] Les autorxs
|
7
|
+
@param :src [String] La imagen
|
8
|
+
@param :alt [String] La descripción de la imagen
|
9
|
+
@param :description [String] La descripción del post
|
11
10
|
{%- endcomment -%}
|
12
11
|
|
13
|
-
{%
|
12
|
+
{%
|
13
|
+
include cover_post/generic.html
|
14
14
|
authors=include.authors
|
15
15
|
title=include.title
|
16
16
|
description=include.description
|
@@ -1,19 +1,20 @@
|
|
1
1
|
{%- comment -%}
|
2
|
+
La ficha de post en el índice de artículos del menú.
|
2
3
|
|
3
|
-
|
4
|
-
|
5
|
-
@param :
|
6
|
-
@param :
|
7
|
-
@param :
|
8
|
-
@param :src [String] La imagen
|
9
|
-
@param :alt [String] La descripción de la imagen
|
4
|
+
@param :href [String] El link
|
5
|
+
@param :title [String] El título
|
6
|
+
@param :authors [String] Les autorxs
|
7
|
+
@param :src [String] La imagen
|
8
|
+
@param :alt [String] La descripción de la imagen
|
10
9
|
{%- endcomment -%}
|
11
10
|
|
12
|
-
{%
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
11
|
+
{%
|
12
|
+
include cover_post/generic.html
|
13
|
+
authors=include.authors
|
14
|
+
title=include.title
|
15
|
+
src=include.src
|
16
|
+
alt=include.alt
|
17
|
+
href=include.href
|
18
|
+
title_class="font-weight-bold text-uppercase m-0 pt-3 pb-2 letter-spacing-7 lead"
|
19
|
+
author_class="text-uppercase letter-spacing-4 font-sm"
|
20
|
+
%}
|
data/_includes/date.html
CHANGED
@@ -6,7 +6,8 @@
|
|
6
6
|
{% endcomment %}
|
7
7
|
|
8
8
|
<time
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
datetime="{{ include.date | date_to_xmlschema }}"
|
10
|
+
{{ include.extra }}
|
11
|
+
>
|
12
|
+
{{- include.date | date_local: include.format -}}
|
12
13
|
</time>
|