compost-jekyll-theme 0.4.0 → 0.4.2
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/layouts/theme.yml +91 -2
- data/_data/theme.yml +1 -1
- data/_includes/author_block.html +2 -2
- data/_includes/biography.html +1 -1
- data/_includes/card_horizontal.html +2 -2
- data/_includes/cover_post/home.html +1 -1
- data/_includes/divider.html +1 -1
- data/_includes/footer.html +1 -1
- data/_layouts/about.html +1 -1
- data/_layouts/back_cover.html +2 -2
- data/_layouts/code_of_conduct.html +1 -1
- data/_layouts/license.html +1 -1
- data/_layouts/post.html +1 -1
- data/_layouts/privacy_policy.html +1 -1
- data/_sass/utilities.scss +10 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d1681b99017bd3e3359f75d1143b5c46f5e4096d8c99151ca18e1ea6c30cf4d
|
4
|
+
data.tar.gz: 55b3003d25b495347730d8686cd6e9565e36f13556a0e6363bd3d1c949e8519c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5697d4a50464bf0b0ab4270859a6c5508c19f836f4d95d77fa0ccb0d9791e50f169e8a48837345154d3c7e71566506b2a92aeb93516ec49520a034ff17fba1ac
|
7
|
+
data.tar.gz: 4f7636fdaf461a9c52c9dd185d88e28513e5f3fd0cd31cb3710315c3172bd8cdd575646e627358baec0403eed51f3cf09125f2c0ae57204e6ab16f5d5e9e9c28
|
data/_data/layouts/theme.yml
CHANGED
@@ -24,10 +24,14 @@ font_family_sans_serif:
|
|
24
24
|
"": "Default"
|
25
25
|
Roboto: "Roboto"
|
26
26
|
Open Sans: "Open Sans"
|
27
|
+
Work Sans: "Work Sans"
|
28
|
+
Source Serif 4: "Source Serif 4"
|
27
29
|
es:
|
28
30
|
"": "Default"
|
29
31
|
Roboto: "Roboto"
|
30
32
|
Open Sans: "Open Sans"
|
33
|
+
Work Sans: "Work Sans"
|
34
|
+
Source Serif 4: "Source Serif 4"
|
31
35
|
font_family_monospace:
|
32
36
|
type: "predefined_value"
|
33
37
|
label:
|
@@ -64,10 +68,62 @@ headings_font_family:
|
|
64
68
|
"": "Default"
|
65
69
|
Roboto: "Roboto"
|
66
70
|
Open Sans: "Open Sans"
|
71
|
+
Work Sans: "Work Sans"
|
72
|
+
Source Serif 4: "Source Serif 4"
|
67
73
|
es:
|
68
74
|
"": "Default"
|
69
75
|
Roboto: "Roboto"
|
70
76
|
Open Sans: "Open Sans"
|
77
|
+
Work Sans: "Work Sans"
|
78
|
+
Source Serif 4: "Source Serif 4"
|
79
|
+
font_family_primary:
|
80
|
+
type: "predefined_value"
|
81
|
+
label:
|
82
|
+
en: "Select a typography for biography and home heading"
|
83
|
+
es: "Selecciona una tipografía para la biografía y el titular de portada"
|
84
|
+
help:
|
85
|
+
en: ""
|
86
|
+
es: ""
|
87
|
+
default:
|
88
|
+
en: ""
|
89
|
+
es: ""
|
90
|
+
values:
|
91
|
+
en:
|
92
|
+
"": "Default"
|
93
|
+
Roboto: "Roboto"
|
94
|
+
Open Sans: "Open Sans"
|
95
|
+
Work Sans: "Work Sans"
|
96
|
+
Source Serif 4: "Source Serif 4"
|
97
|
+
es:
|
98
|
+
"": "Default"
|
99
|
+
Roboto: "Roboto"
|
100
|
+
Open Sans: "Open Sans"
|
101
|
+
Work Sans: "Work Sans"
|
102
|
+
Source Serif 4: "Source Serif 4"
|
103
|
+
font_family_secondary:
|
104
|
+
type: "predefined_value"
|
105
|
+
label:
|
106
|
+
en: "Select a typography for secondary elements such as author's names, about, etc."
|
107
|
+
es: "Selecciona una tipografía para elementos secundarios como los nombres de autores, acerca, etc."
|
108
|
+
help:
|
109
|
+
en: ""
|
110
|
+
es: ""
|
111
|
+
default:
|
112
|
+
en: ""
|
113
|
+
es: ""
|
114
|
+
values:
|
115
|
+
en:
|
116
|
+
"": "Default"
|
117
|
+
Roboto: "Roboto"
|
118
|
+
Open Sans: "Open Sans"
|
119
|
+
Work Sans: "Work Sans"
|
120
|
+
Source Serif 4: "Source Serif 4"
|
121
|
+
es:
|
122
|
+
"": "Default"
|
123
|
+
Roboto: "Roboto"
|
124
|
+
Open Sans: "Open Sans"
|
125
|
+
Work Sans: "Work Sans"
|
126
|
+
Source Serif 4: "Source Serif 4"
|
71
127
|
enable_rounded:
|
72
128
|
type: "boolean"
|
73
129
|
label:
|
@@ -145,6 +201,28 @@ link_hover_color:
|
|
145
201
|
default:
|
146
202
|
es: "#0056b3"
|
147
203
|
en: "#0056b3"
|
204
|
+
footer_color:
|
205
|
+
type: "color"
|
206
|
+
label:
|
207
|
+
en: "Footer text color"
|
208
|
+
es: "Color del texto del pie"
|
209
|
+
help:
|
210
|
+
en: ""
|
211
|
+
es: ""
|
212
|
+
default:
|
213
|
+
es: "#000000"
|
214
|
+
en: "#000000"
|
215
|
+
lead_font_size:
|
216
|
+
type: "string"
|
217
|
+
label:
|
218
|
+
en: "Height for descriptions"
|
219
|
+
es: "Altura de las descripciones"
|
220
|
+
help:
|
221
|
+
en: ""
|
222
|
+
es: ""
|
223
|
+
default:
|
224
|
+
es: "1.25rem"
|
225
|
+
en: "1.25rem"
|
148
226
|
h1_font_size:
|
149
227
|
type: "string"
|
150
228
|
label:
|
@@ -222,6 +300,17 @@ mark_bg:
|
|
222
300
|
default:
|
223
301
|
es: "#fcf8e3"
|
224
302
|
en: "#fcf8e3"
|
303
|
+
code_background:
|
304
|
+
type: "color"
|
305
|
+
label:
|
306
|
+
en: "Code block background color"
|
307
|
+
es: "Color de fondo del bloque de código"
|
308
|
+
help:
|
309
|
+
en: "Used on author's projects and code blocks"
|
310
|
+
es: "Usado en proyectos de autores y bloques de código"
|
311
|
+
default:
|
312
|
+
es: "#cccaf7"
|
313
|
+
en: "#cccaf7"
|
225
314
|
body_image:
|
226
315
|
type: "image"
|
227
316
|
path:
|
@@ -245,8 +334,8 @@ divider_image:
|
|
245
334
|
es: "Imagen del separador"
|
246
335
|
en: "Divider image"
|
247
336
|
help:
|
248
|
-
es: "Separa el contenido del inicio de la lista de artículos"
|
249
|
-
en: "Separates home content from article list"
|
337
|
+
es: "Separa el contenido del inicio de la lista de artículos. Ancho 150px."
|
338
|
+
en: "Separates home content from article list. 150px wide."
|
250
339
|
support_image:
|
251
340
|
type: "image"
|
252
341
|
path:
|
data/_data/theme.yml
CHANGED
@@ -30,6 +30,7 @@ colors:
|
|
30
30
|
post: "rgba(230, 230, 230, 0.1)"
|
31
31
|
footnote: "#888888"
|
32
32
|
primary: "$primary"
|
33
|
+
footer: "$footer-color"
|
33
34
|
letter_spacings:
|
34
35
|
1: "0.1rem"
|
35
36
|
2: "0.16rem"
|
@@ -136,7 +137,6 @@ background_positions_y:
|
|
136
137
|
- "right"
|
137
138
|
code_color: "black"
|
138
139
|
code_font_size: "1rem"
|
139
|
-
code_background: "#cccaf7"
|
140
140
|
code_radius: "8px"
|
141
141
|
code_font_family: "Roboto Mono"
|
142
142
|
background_images:
|
data/_includes/author_block.html
CHANGED
@@ -12,12 +12,12 @@ Author block
|
|
12
12
|
<div class="">
|
13
13
|
<div class="py-3">
|
14
14
|
<a href="{{include.title.url}}" class="hover-black">
|
15
|
-
{% include headings/h3.html text=include.title.alias class="black
|
15
|
+
{% include headings/h3.html text=include.title.alias class="black font-family-secondary font-weight-bold" %}
|
16
16
|
</a>
|
17
17
|
</div>
|
18
18
|
|
19
19
|
{% unless links == empty %}
|
20
|
-
<div class="
|
20
|
+
<div class="code text-left p-3 mt-2 mb-2 rounded">
|
21
21
|
{% for link in links %}
|
22
22
|
<li class="list-unstyled">
|
23
23
|
<a class="black hover-white" href="{{- link -}}" target="_blank" rel="noopener">{{ link }}</a>
|
data/_includes/biography.html
CHANGED
@@ -5,6 +5,6 @@ La biografía de le autore que aparece al final de los artículos.
|
|
5
5
|
@param :text [html] El contenido con formato
|
6
6
|
{%- endcomment -%}
|
7
7
|
|
8
|
-
<div class="f-14 f-md-19
|
8
|
+
<div class="f-14 f-md-19 font-family-primary content font-weight-light font-italic pb-3">
|
9
9
|
{{- include.text -}}
|
10
10
|
</div>
|
@@ -17,12 +17,12 @@ Card horizontal
|
|
17
17
|
|
18
18
|
<div class="col-12 col-md pl-xl-5 pt-5 pt-md-0">
|
19
19
|
<div class="">
|
20
|
-
{% include headings/h1.html text=include.title class="d-inline-flex font-italic border-width-1 border-black border-bottom-dashed
|
20
|
+
{% include headings/h1.html text=include.title class="d-inline-flex font-italic border-width-1 border-black border-bottom-dashed font-family-primary" %}
|
21
21
|
</div>
|
22
22
|
|
23
23
|
<p class="my-3 text-monospace lead">{{ include.subtitle }}</p>
|
24
24
|
|
25
|
-
<div class="content
|
25
|
+
<div class="content lead">
|
26
26
|
{{ include.content }}
|
27
27
|
</div>
|
28
28
|
</div>
|
@@ -19,5 +19,5 @@ La ficha de post en el índice de artículos del home.
|
|
19
19
|
href=include.href
|
20
20
|
title_class="font-weight-bold text-uppercase m-0 pt-3 pb-2 letter-spacing-6 display-4 f-xl-25"
|
21
21
|
author_class="text-uppercase letter-spacing-4 f-16 lead-md f-xl-17"
|
22
|
-
description_class="
|
22
|
+
description_class="font-family-secondary f-16 lead-md f-xl-17 mt-12"
|
23
23
|
%}
|
data/_includes/divider.html
CHANGED
@@ -9,7 +9,7 @@ Image component
|
|
9
9
|
<div class="d-flex flex-row justify-content-center align-items-center">
|
10
10
|
<div class="border-bottom-dashed border-black flex-grow-1 my-2"></div>
|
11
11
|
|
12
|
-
{% include picture.html src=include.src alt=include.alt
|
12
|
+
{% include picture.html src=include.src alt=include.alt width=150 %}
|
13
13
|
|
14
14
|
<div class="border-bottom-dashed border-black flex-grow-1 my-2"></div>
|
15
15
|
</div>
|
data/_includes/footer.html
CHANGED
@@ -12,7 +12,7 @@ Footer
|
|
12
12
|
{%- assign code_of_conduct = site.posts | find: "layout", "code_of_conduct" -%}
|
13
13
|
{%- assign privacy_policy = site.posts | find: "layout", "privacy_policy" -%}
|
14
14
|
|
15
|
-
<footer class="d-flex justify-content-center background-size-cover background-position-top-left background-image-footer">
|
15
|
+
<footer class="d-flex justify-content-center background-size-cover background-position-top-left background-image-footer footer">
|
16
16
|
<div class="row row-cols-md-1 row-cols-lg-3 justify-content-center container-lg mx-auto pt-150 pb-5 f-14 px-4">
|
17
17
|
<div class="col-12 px-3 content">
|
18
18
|
{{ include.col_1 }}
|
data/_layouts/about.html
CHANGED
@@ -5,5 +5,5 @@ layout: "default_with_menu"
|
|
5
5
|
<article id="{{ page.slug }}" class="container mx-auto max-w-780px py-4 px-20 mt-lg-5">
|
6
6
|
{% include headings/h1.html class="text-uppercase black hover-black letter-spacing-4 font-weight-bold mb-4" text=page.title %}
|
7
7
|
|
8
|
-
<div class="lead-md content pt-2
|
8
|
+
<div class="lead-md content pt-2 font-family-secondary">{{ page.content }}</div>
|
9
9
|
</article>
|
data/_layouts/back_cover.html
CHANGED
@@ -34,7 +34,7 @@ layout: "default_with_menu"
|
|
34
34
|
{% endunless %}
|
35
35
|
|
36
36
|
{% unless page.content == empty %}
|
37
|
-
<div class="
|
37
|
+
<div class="font-family-secondary lead-md pt-2 content">
|
38
38
|
{{ content }}
|
39
39
|
</div>
|
40
40
|
{% endunless %}
|
@@ -56,7 +56,7 @@ layout: "default_with_menu"
|
|
56
56
|
{% endunless %}
|
57
57
|
|
58
58
|
{% unless page.final_message == empty %}
|
59
|
-
<p class="font-italic
|
59
|
+
<p class="font-italic font-family-secondary lead-md border-bottom border-gray border-width-2 py-3">{{ page.final_message }}</p>
|
60
60
|
{% endunless %}
|
61
61
|
</div>
|
62
62
|
|
@@ -11,7 +11,7 @@ layout: "default_with_menu"
|
|
11
11
|
{% endif %}
|
12
12
|
|
13
13
|
<div
|
14
|
-
class="
|
14
|
+
class="font-family-secondary lead-md pt-20 content"
|
15
15
|
data-controller="footnotes"
|
16
16
|
data-action="resize@window->footnotes#resize"
|
17
17
|
data-footnotes-container-width-value="{{ site.data.theme.footnotes_container_width }}"
|
data/_layouts/license.html
CHANGED
@@ -11,7 +11,7 @@ layout: "default_with_menu"
|
|
11
11
|
{% endif %}
|
12
12
|
|
13
13
|
<div
|
14
|
-
class="
|
14
|
+
class="font-family-secondary lead-md pt-20 content"
|
15
15
|
data-controller="footnotes"
|
16
16
|
data-action="resize@window->footnotes#resize"
|
17
17
|
data-footnotes-container-width-value="{{ site.data.theme.footnotes_container_width }}"
|
data/_layouts/post.html
CHANGED
@@ -41,7 +41,7 @@ layout: "default_with_menu"
|
|
41
41
|
data-footnotes-footnote-class="{{ site.data.theme.footnotes_footnote_class | join: " " }}"
|
42
42
|
data-footnotes-footnote-toggled-class="{{ site.data.theme.footnotes_footnote_toggled_class | join: " " }}"
|
43
43
|
data-footnotes-sidenote-class="{{ site.data.theme.footnotes_sidenote_class | join: " " }}"
|
44
|
-
class="
|
44
|
+
class="font-family-secondary lead-md pt-20 content"
|
45
45
|
data-controller="footnotes"
|
46
46
|
data-action="resize@window->footnotes#resize"
|
47
47
|
>
|
@@ -11,7 +11,7 @@ layout: "default_with_menu"
|
|
11
11
|
{% endif %}
|
12
12
|
|
13
13
|
<div
|
14
|
-
class="
|
14
|
+
class="font-family-secondary lead-md pt-20 content"
|
15
15
|
data-controller="footnotes"
|
16
16
|
data-action="resize@window->footnotes#resize"
|
17
17
|
data-footnotes-container-width-value="{{ site.data.theme.footnotes_container_width }}"
|
data/_sass/utilities.scss
CHANGED
@@ -251,6 +251,14 @@
|
|
251
251
|
font-family: 'Source Serif 4';
|
252
252
|
}
|
253
253
|
|
254
|
+
.font-family-primary {
|
255
|
+
font-family: $font-family-primary;
|
256
|
+
}
|
257
|
+
|
258
|
+
.font-family-secondary {
|
259
|
+
font-family: $font-family-secondary;
|
260
|
+
}
|
261
|
+
|
254
262
|
.zindex-dropdown { z-index: 1000; }
|
255
263
|
.zindex-sticky { z-index: 1020; }
|
256
264
|
.zindex-fixed { z-index: 1030; }
|
@@ -264,6 +272,7 @@ strong {
|
|
264
272
|
font-weight: $font-weight-bold;
|
265
273
|
}
|
266
274
|
|
275
|
+
.code,
|
267
276
|
code {
|
268
277
|
background-color: $code-background;
|
269
278
|
border-radius: $code-radius;
|
@@ -280,4 +289,4 @@ code {
|
|
280
289
|
.break-wrap {
|
281
290
|
word-break: break-word !important;
|
282
291
|
word-wrap: break-word !important;
|
283
|
-
}
|
292
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compost-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sutty
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|