editorial-autogestiva-jekyll-theme 0.3.5 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5076c34c67fab0f7c58192169e1a44e62dc3d5ab1efefc571c0461aa8239a4d0
4
- data.tar.gz: f495a9d25183d65b7ca766adf73b01f22d8236f21703fc96bc442d465c59dfcf
3
+ metadata.gz: 1f329708d4db12710fce9b2e2bcc9fa1811c1fb0f32cb19044de2fe4686b5379
4
+ data.tar.gz: 2fd7b566dea2b2e53d82872207d402257424c3a08d1973ab8f1c9db648282c19
5
5
  SHA512:
6
- metadata.gz: e015682448dc47d65c52289a00ab45855a8440e31e93be23b88fb4ae7bf526345f1d3ed5383a06005a991176aed79b3cd6faf99ff3b9ff31ee67b628d60a7733
7
- data.tar.gz: 35842e70c0929f213b9785fc9f040fb7f85635939aa8f4758fe2ada0b4852a5502f5e198f2e95ac133373d1464fb82e86aa79c36b98517916dce9df066cc8eac
6
+ metadata.gz: 4471e112212f1dfe7e09a71e1aa7a2f5a52fd0dab27c2c06b172674ccdfc74f5be2072028b5c8e4fed4939054d8e8f2a192b0eacb480cd61b5cd28828e97ffe0
7
+ data.tar.gz: 1c55a6983425181cc14d2ca4c8d2a93d679a0c2f7ad603108e19710a6f13a87e4d2a54429d2e5ccb991fb77c5f88f1fb39eecbbefd101ca29e24d902826d6598
data/_data/en.yml CHANGED
@@ -62,14 +62,18 @@ time:
62
62
  am: am
63
63
  pm: pm
64
64
  layouts:
65
- post: Article
66
- book: Book
67
- editorial: About
68
- cart: Cart
69
- confirmation: Order confirmation
70
- payment: Payment
71
- shipment: Shipment
72
- menu: Menu
65
+ about: "Editorial"
66
+ book: "Book"
67
+ cart: "Cart"
68
+ code_of_conduct: "Code of conduct"
69
+ confirmation: "Order confirmation"
70
+ license: "License"
71
+ menu: "Menu"
72
+ payment: "Payment"
73
+ post: "Post"
74
+ privacy_policy: "Privacy policy"
75
+ shipment: "Shipment"
76
+ theme: "Customize"
73
77
  menu:
74
78
  title: Menu
75
79
  book:
data/_data/es.yml CHANGED
@@ -62,14 +62,19 @@ time:
62
62
  am: am
63
63
  pm: pm
64
64
  layouts:
65
- post: Artículo
66
- book: Libro
67
- editorial: Acerca
68
- cart: Carrito
69
- confirmation: Confirmación de compra
70
- payment: Pago
71
- shipment: Envío
72
- menu: Menú
65
+ about: "Editorial"
66
+ book: "Libro"
67
+ cart: "Carrito"
68
+ code_of_conduct: "Código de conducta"
69
+ confirmation: "Confirmación de compra"
70
+ license: "Licencia"
71
+ menu: "Menú"
72
+ page: "Página"
73
+ payment: "Pago"
74
+ post: "Artículo"
75
+ privacy_policy: "Política de privacidad"
76
+ shipment: "Envío"
77
+ theme: "Personalizar"
73
78
  menu:
74
79
  title: Menú principal
75
80
  book:
@@ -102,11 +107,6 @@ book:
102
107
  text: Transferencia bancaria
103
108
  footer:
104
109
  made_with_sutty: "Sitio hecho con [Sutty](https://sutty.nl/es/). [Publicá el tuyo :)](https://panel.sutty.nl/)."
105
- links:
106
- - text: "Política de privacidad"
107
- url: "politica-de-privacidad/"
108
- - text: "Código de conducta"
109
- url: "codigo-de-conducta/"
110
110
  contact:
111
111
  thanks: gracias
112
112
  share:
@@ -5,6 +5,9 @@ title:
5
5
  label:
6
6
  es: "Título del libro"
7
7
  en: "Book title"
8
+ help:
9
+ es: ""
10
+ en: ""
8
11
  description:
9
12
  type: "text"
10
13
  required: true
@@ -151,6 +154,9 @@ pages:
151
154
  label:
152
155
  es: "Cantidad de páginas"
153
156
  en: "Number of pages"
157
+ help:
158
+ es: ""
159
+ en: ""
154
160
  categories:
155
161
  type: "array"
156
162
  label:
@@ -168,7 +168,7 @@ permalink:
168
168
  required: true
169
169
  label:
170
170
  es: "Dirección de la página"
171
- en: ""
171
+ en: "Permalink"
172
172
  help:
173
173
  es: "La dirección de la página del carrito dentro del sitio"
174
174
  en: "Address for cart page inside site"
@@ -0,0 +1,60 @@
1
+ ---
2
+ title:
3
+ type: "string"
4
+ required: true
5
+ label:
6
+ es: "Título del Codigo de Conducta"
7
+ en: "Title of code of conduct"
8
+ help:
9
+ es: ""
10
+ en: ""
11
+ description:
12
+ type: "text"
13
+ required: true
14
+ label:
15
+ es: "Alerta de contenido o descripción del artículo"
16
+ en: "Content warning or post description"
17
+ help:
18
+ es: |
19
+ Resumen del contenido del artículo, que también usarán redes
20
+ sociales y buscadores. Si el artículo trata de violencias y otros
21
+ temas sensibles, te invitamos a usar este campo como alerta de
22
+ contenido, para que las personas puedan determinar cuándo quieren
23
+ abrirlo.
24
+ en: |
25
+ Summary of post content, also used by social media and search
26
+ engines. If the post is about violence and other sensitive
27
+ topics, we invite you to use it as a content warning, so others
28
+ can decide when they want to read it.
29
+ content:
30
+ type: "new_content"
31
+ label:
32
+ es: "Contenido del artículo"
33
+ en: "Post content"
34
+ help:
35
+ es: "Escribe aquí el artículo"
36
+ en: "Write your post here"
37
+ locales:
38
+ type: "locales"
39
+ label:
40
+ es: "Traducciones"
41
+ en: "Translations"
42
+ help:
43
+ es: "Vínculo al mismo artículo en otros idiomas"
44
+ en: "Link to same post in other languages"
45
+ draft:
46
+ type: "boolean"
47
+ label:
48
+ es: "Borrador"
49
+ en: "Draft"
50
+ help:
51
+ 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\""
52
+ 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)."
53
+ order:
54
+ type: "order"
55
+ label:
56
+ es: "Orden"
57
+ en: "Order"
58
+ help:
59
+ es: "La posición del artículo en la lista de artículos"
60
+ en: "Position in list of posts"
@@ -12,7 +12,7 @@ title:
12
12
  es: "¡Gracias por tu compra!"
13
13
  en: "Thank you for your purchase!"
14
14
  content:
15
- type: "content"
15
+ type: "new_content"
16
16
  label:
17
17
  es: "Contenido"
18
18
  en: "Content"
@@ -0,0 +1,60 @@
1
+ ---
2
+ title:
3
+ type: "string"
4
+ required: true
5
+ label:
6
+ es: "Título de la licencia"
7
+ en: "Licence title"
8
+ help:
9
+ es: "Título que describe la licencia a usar"
10
+ en: "Title that describes the license to use"
11
+ description:
12
+ type: "text"
13
+ required: true
14
+ label:
15
+ es: "Alerta de contenido o descripción del artículo"
16
+ en: "Content warning or post description"
17
+ help:
18
+ es: |
19
+ Resumen del contenido del artículo, que también usarán redes
20
+ sociales y buscadores. Si el artículo trata de violencias y otros
21
+ temas sensibles, te invitamos a usar este campo como alerta de
22
+ contenido, para que las personas puedan determinar cuándo quieren
23
+ abrirlo.
24
+ en: |
25
+ Summary of post content, also used by social media and search
26
+ engines. If the post is about violence and other sensitive
27
+ topics, we invite you to use it as a content warning, so others
28
+ can decide when they want to read it.
29
+ content:
30
+ type: "new_content"
31
+ label:
32
+ es: "Contenido del artículo"
33
+ en: "Post content"
34
+ help:
35
+ es: "Escribe aquí el artículo"
36
+ en: "Write your post here"
37
+ locales:
38
+ type: "locales"
39
+ label:
40
+ es: "Traducciones"
41
+ en: "Translations"
42
+ help:
43
+ es: "Vínculo al mismo artículo en otros idiomas"
44
+ en: "Link to same post in other languages"
45
+ draft:
46
+ type: "boolean"
47
+ label:
48
+ es: "Borrador"
49
+ en: "Draft"
50
+ help:
51
+ 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\""
52
+ 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)."
53
+ order:
54
+ type: "order"
55
+ label:
56
+ es: "Orden"
57
+ en: "Order"
58
+ help:
59
+ es: "La posición del artículo en la lista de artículos"
60
+ en: "Position in list of posts"
@@ -0,0 +1,60 @@
1
+ ---
2
+ title:
3
+ type: "string"
4
+ required: true
5
+ label:
6
+ es: "Título"
7
+ en: "Title"
8
+ help:
9
+ es: ""
10
+ en: ""
11
+ description:
12
+ type: "text"
13
+ required: true
14
+ label:
15
+ es: "Alerta de contenido o descripción del artículo"
16
+ en: "Content warning or post description"
17
+ help:
18
+ es: |
19
+ Resumen del contenido del artículo, que también usarán redes
20
+ sociales y buscadores. Si el artículo trata de violencias y otros
21
+ temas sensibles, te invitamos a usar este campo como alerta de
22
+ contenido, para que las personas puedan determinar cuándo quieren
23
+ abrirlo.
24
+ en: |
25
+ Summary of post content, also used by social media and search
26
+ engines. If the post is about violence and other sensitive
27
+ topics, we invite you to use it as a content warning, so others
28
+ can decide when they want to read it.
29
+ content:
30
+ type: "new_content"
31
+ label:
32
+ es: "Contenido del artículo"
33
+ en: "Post content"
34
+ help:
35
+ es: "Escribe aquí el artículo"
36
+ en: "Write your post here"
37
+ locales:
38
+ type: "locales"
39
+ label:
40
+ es: "Traducciones"
41
+ en: "Translations"
42
+ help:
43
+ es: "Vínculo al mismo artículo en otros idiomas"
44
+ en: "Link to same post in other languages"
45
+ draft:
46
+ type: "boolean"
47
+ label:
48
+ es: "Borrador"
49
+ en: "Draft"
50
+ help:
51
+ 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\""
52
+ 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)."
53
+ order:
54
+ type: "order"
55
+ label:
56
+ es: "Orden"
57
+ en: "Order"
58
+ help:
59
+ es: "La posición del artículo en la lista de artículos"
60
+ en: "Position in list of posts"
@@ -0,0 +1,295 @@
1
+ ---
2
+ title:
3
+ type: "string"
4
+ required: true
5
+ label:
6
+ en: "Title"
7
+ es: "Título"
8
+ help:
9
+ en: "The name you want to give to this customization"
10
+ es: "El nombre que quieras darle a esta personalización"
11
+ font_family_sans_serif:
12
+ type: "predefined_value"
13
+ label:
14
+ en: "Select a typography for the site"
15
+ es: "Selecciona una tipografía para el sitio"
16
+ help:
17
+ en: "If you'd like us to add support for a typography, please send us an e-mail"
18
+ es: "Si quieres que agreguemos una tipografía, por favor envíanos un e-mail"
19
+ default:
20
+ en: ""
21
+ es: ""
22
+ values:
23
+ en:
24
+ "": "Default"
25
+ Roboto: "Roboto"
26
+ Saira: "Saira"
27
+ es:
28
+ "": "Default"
29
+ Roboto: "Roboto"
30
+ Saira: "Saira"
31
+ font_family_monospace:
32
+ type: "predefined_value"
33
+ label:
34
+ en: "Select a monospace typography for the site"
35
+ es: "Selecciona una tipografía monospace para el sitio"
36
+ help:
37
+ en: ""
38
+ es: ""
39
+ default:
40
+ en: ""
41
+ es: ""
42
+ values:
43
+ en:
44
+ "": "Default"
45
+ Roboto Mono: "Roboto Mono"
46
+ Liberation Mono: "Liberation Mono"
47
+ es:
48
+ "": "Default"
49
+ Roboto Mono: "Roboto Mono"
50
+ Liberation Mono: "Liberation Mono"
51
+ headings_font_family:
52
+ type: "predefined_value"
53
+ label:
54
+ en: "Select a typography for headings"
55
+ es: "Selecciona una tipografía para los títulos del sitio"
56
+ help:
57
+ en: "If you'd us to add support for a typography, please send us an e-mail"
58
+ es: "Si quieres que agreguemos una tipografía, por favor envíanos un e-mail"
59
+ default:
60
+ en: ""
61
+ es: ""
62
+ values:
63
+ en:
64
+ "": "Default"
65
+ Roboto: "Roboto"
66
+ Saira: "Saira"
67
+ es:
68
+ "": "Default"
69
+ Roboto: "Roboto"
70
+ Saira: "Saira"
71
+ enable_rounded:
72
+ type: "boolean"
73
+ label:
74
+ en: "Rounded corners"
75
+ es: "Esquinas redondeadas"
76
+ help:
77
+ en: "For buttons, form inputs, etc."
78
+ es: "De los botones, campos de formularios, etc."
79
+ default:
80
+ es: false
81
+ en: false
82
+ enable_shadows:
83
+ type: "boolean"
84
+ label:
85
+ en: "Shadows"
86
+ es: "Sombras"
87
+ help:
88
+ en: "Shadows behind elements"
89
+ es: "Sombras en los elementos"
90
+ default:
91
+ es: false
92
+ en: false
93
+ body_bg:
94
+ type: "color"
95
+ label:
96
+ en: "Background color"
97
+ es: "Color de fondo"
98
+ help:
99
+ en: "Site's background color"
100
+ es: "Color de fondo del sitio"
101
+ default:
102
+ es: "#FFFFFF"
103
+ en: "#FFFFFF"
104
+ body_color:
105
+ type: "color"
106
+ label:
107
+ en: "Text color"
108
+ es: "Color del texto"
109
+ help:
110
+ en: ""
111
+ es: ""
112
+ default:
113
+ es: "#212529"
114
+ en: "#212529"
115
+ primary:
116
+ type: "color"
117
+ label:
118
+ en: "Primary color"
119
+ es: "Color principal"
120
+ help:
121
+ en: "Highlights certain elements"
122
+ es: "Resalta algunos elementos"
123
+ default:
124
+ es: "#f206f9"
125
+ en: "#f206f9"
126
+ secondary:
127
+ type: "color"
128
+ label:
129
+ en: "Secondary color"
130
+ es: "Color secundario"
131
+ help:
132
+ en: "Highlights certain elements"
133
+ es: "Resalta algunos elementos"
134
+ default:
135
+ es: "#13fefe"
136
+ en: "#13fefe"
137
+ link_color:
138
+ type: "color"
139
+ label:
140
+ en: "Link color"
141
+ es: "Color de los vínculos"
142
+ help:
143
+ en: ""
144
+ es: ""
145
+ default:
146
+ es: "#007bff"
147
+ en: "#007bff"
148
+ link_hover_color:
149
+ type: "color"
150
+ label:
151
+ en: "Link color when selected"
152
+ es: "Color de los vínculos al seleccionarlos"
153
+ help:
154
+ en: ""
155
+ es: ""
156
+ default:
157
+ es: "#0056b3"
158
+ en: "#0056b3"
159
+ h1_font_size:
160
+ type: "string"
161
+ label:
162
+ en: "Height for first level headings"
163
+ es: "Altura de los títulos de primer nivel"
164
+ help:
165
+ en: ""
166
+ es: ""
167
+ default:
168
+ es: "2.5rem"
169
+ en: "2.5rem"
170
+ h2_font_size:
171
+ type: "string"
172
+ label:
173
+ en: "Height for second level headings"
174
+ es: "Altura de los títulos de segundo nivel"
175
+ help:
176
+ en: ""
177
+ es: ""
178
+ default:
179
+ es: "2rem"
180
+ en: "2rem"
181
+ h3_font_size:
182
+ type: "string"
183
+ label:
184
+ en: "Height for third level headings"
185
+ es: "Altura de los títulos de tercer nivel"
186
+ help:
187
+ en: ""
188
+ es: ""
189
+ default:
190
+ es: "1.75rem"
191
+ en: "1.75rem"
192
+ h4_font_size:
193
+ type: "string"
194
+ label:
195
+ en: "Height for fourth level headings"
196
+ es: "Altura de los títulos de cuarto nivel"
197
+ help:
198
+ en: ""
199
+ es: ""
200
+ default:
201
+ es: "1.5rem"
202
+ en: "1.5rem"
203
+ h5_font_size:
204
+ type: "string"
205
+ label:
206
+ en: "Height for fifth level headings"
207
+ es: "Altura de los títulos de quinto nivel"
208
+ help:
209
+ en: ""
210
+ es: ""
211
+ default:
212
+ es: "1.25rem"
213
+ en: "1.25rem"
214
+ h6_font_size:
215
+ type: "string"
216
+ label:
217
+ en: "Height for sixth level headings"
218
+ es: "Altura de los títulos de sexto nivel"
219
+ help:
220
+ en: ""
221
+ es: ""
222
+ default:
223
+ es: "1rem"
224
+ en: "1rem"
225
+ mark_bg:
226
+ type: "color"
227
+ label:
228
+ en: "Highlight color"
229
+ es: "Color de resaltado"
230
+ help:
231
+ en: "Default color for highlighted text"
232
+ es: "Color por defecto para el texto resaltado"
233
+ default:
234
+ es: "#fcf8e3"
235
+ en: "#fcf8e3"
236
+ navbar_light_color:
237
+ type: "color"
238
+ label:
239
+ en: "Navigation bar item color"
240
+ es: "Color de ítem en la barra de navegación"
241
+ help:
242
+ en: "Text and icons"
243
+ es: "Texto e íconos"
244
+ default:
245
+ es: "#ced4da"
246
+ en: "#ced4da"
247
+ navbar_light_hover_color:
248
+ type: "color"
249
+ label:
250
+ en: "Navigation bar item color when selected"
251
+ es: "Color de ítem seleccionado en la barra de navegación"
252
+ help:
253
+ en: "Text and icons"
254
+ es: "Texto e íconos"
255
+ default:
256
+ es: "#6c757d"
257
+ en: "#6c757d"
258
+ navbar_light_active_color:
259
+ type: "color"
260
+ label:
261
+ en: "Navigation bar item color when active"
262
+ es: "Color de ítem activo en la barra de navegación"
263
+ help:
264
+ en: "Text and icons"
265
+ es: "Texto e íconos"
266
+ default:
267
+ es: "#212529"
268
+ en: "#212529"
269
+ testing:
270
+ type: "boolean"
271
+ label:
272
+ en: "Testing"
273
+ es: "Testeo"
274
+ help:
275
+ en: "When activated, shows screen information for testing"
276
+ es: "Al activar se muestra información de la pantalla para testing"
277
+ default:
278
+ es: false
279
+ en: false
280
+ draft:
281
+ type: "boolean"
282
+ label:
283
+ es: "Borrador"
284
+ en: "Draft"
285
+ help:
286
+ 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\""
287
+ 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)."
288
+ order:
289
+ type: "order"
290
+ label:
291
+ es: "Orden"
292
+ en: "Order"
293
+ help:
294
+ es: "La posición del artículo en la lista de artículos"
295
+ en: "Position in list of posts"
@@ -1,19 +1,35 @@
1
+ {%- assign license = site.posts | find: "layout", "license" -%}
2
+ {%- assign code_of_conduct = site.posts | find: "layout", "code_of_conduct" -%}
3
+ {%- assign privacy_policy = site.posts | find: "layout", "privacy_policy" -%}
4
+
1
5
  <footer class="border-top pt-3 container">
2
6
  <div class="row">
3
7
  <div class="col">
4
8
  {%- if include.footer -%}
5
- {% assign editorial = site.posts | where: 'layout', 'editorial' | first %}
9
+ {% assign editorial = site.posts | find: 'layout', 'about' %}
6
10
  {% include_cached editorial.html editorial=editorial %}
7
11
  {%- endif -%}
8
12
  </div>
9
13
 
10
14
  <div class="col d-flex flex-column align-items-end justify-content-end">
11
15
  <ul class="list-unstyled">
12
- {%- for link in site.i18n.footer.links %}
16
+ {% if license %}
17
+ <li>
18
+ <a href="{{ license.url }}" rel="license">{{ license.title }}</a>
19
+ </li>
20
+ {% endif %}
21
+
22
+ {% if code_of_conduct %}
23
+ <li>
24
+ <a href="{{ code_of_conduct.url }}" rel="code-of-conduct">{{ code_of_conduct.title }}</a>
25
+ </li>
26
+ {% endif %}
27
+
28
+ {% if privacy_policy %}
13
29
  <li>
14
- <a href="{{ link.url }}">{{ link.text }}</a>
30
+ <a href="{{ privacy_policy.url }}" rel="privacy-policy">{{ privacy_policy.title }}</a>
15
31
  </li>
16
- {%- endfor %}
32
+ {% endif %}
17
33
  </ul>
18
34
 
19
35
  {{ site.i18n.footer.made_with_sutty | markdownify }}
@@ -0,0 +1,45 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% assign date_format = site.i18n.date.format | default: "%b %-d, %Y" %}
6
+
7
+ <article class="h-entry" itemscope itemtype="http://schema.org/Article">
8
+ <header>
9
+ <h1 class="p-name" itemprop="name headline">{{ page.title | default: '' | escape }}</h1>
10
+
11
+ {%- if page.description -%}
12
+ <p class="lead p-summary" itemprop="description">{{ page.description | default: '' | escape }}</p>
13
+ {%- endif -%}
14
+
15
+ <p>
16
+ {{ site.i18n.published_at }}
17
+
18
+ <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
19
+ {{ page.date | date_local: date_format }}
20
+ </time>
21
+
22
+ {% if page.last_modified_at %}
23
+ {{ site.i18n.last_modified_at }}
24
+
25
+ <time class="dt-published" datetime="{{ page.last_modified_at | date_to_xmlschema }}" itemprop="datePublished">
26
+ {{ page.last_modified_at | date_local: date_format }}
27
+ </time>
28
+ {% endif %}
29
+ </p>
30
+ </header>
31
+
32
+ <div class="e-content" itemprop="articleBody">
33
+ {{ content }}
34
+ </div>
35
+
36
+ <footer>
37
+ <a class="u-url" itemprop="url" href="{{ page.url }}" hidden>
38
+ {{ site.url }}{{ page.url }}
39
+ </a>
40
+
41
+ {%- if page.uuid -%}
42
+ <span hidden itemprop="identifier">{{ page.uuid }}</span>
43
+ {%- endif -%}
44
+ </footer>
45
+ </article>
@@ -56,7 +56,7 @@
56
56
  </div>
57
57
  </main>
58
58
 
59
- {%- assign footer = page.layout | not: 'editorial' -%}
59
+ {%- assign footer = page.layout | not: 'about' -%}
60
60
  {% include_cached footer.html footer=footer %}
61
61
  {% include floating_alert.html %}
62
62
  </body>
@@ -0,0 +1,45 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% assign date_format = site.i18n.date.format | default: "%b %-d, %Y" %}
6
+
7
+ <article class="h-entry" itemscope itemtype="http://schema.org/Article">
8
+ <header>
9
+ <h1 class="p-name" itemprop="name headline">{{ page.title | default: '' | escape }}</h1>
10
+
11
+ {%- if page.description -%}
12
+ <p class="lead p-summary" itemprop="description">{{ page.description | default: '' | escape }}</p>
13
+ {%- endif -%}
14
+
15
+ <p>
16
+ {{ site.i18n.published_at }}
17
+
18
+ <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
19
+ {{ page.date | date_local: date_format }}
20
+ </time>
21
+
22
+ {% if page.last_modified_at %}
23
+ {{ site.i18n.last_modified_at }}
24
+
25
+ <time class="dt-published" datetime="{{ page.last_modified_at | date_to_xmlschema }}" itemprop="datePublished">
26
+ {{ page.last_modified_at | date_local: date_format }}
27
+ </time>
28
+ {% endif %}
29
+ </p>
30
+ </header>
31
+
32
+ <div class="e-content" itemprop="articleBody">
33
+ {{ content }}
34
+ </div>
35
+
36
+ <footer>
37
+ <a class="u-url" itemprop="url" href="{{ page.url }}" hidden>
38
+ {{ site.url }}{{ page.url }}
39
+ </a>
40
+
41
+ {%- if page.uuid -%}
42
+ <span hidden itemprop="identifier">{{ page.uuid }}</span>
43
+ {%- endif -%}
44
+ </footer>
45
+ </article>
@@ -0,0 +1,45 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% assign date_format = site.i18n.date.format | default: "%b %-d, %Y" %}
6
+
7
+ <article class="h-entry" itemscope itemtype="http://schema.org/Article">
8
+ <header>
9
+ <h1 class="p-name" itemprop="name headline">{{ page.title | default: '' | escape }}</h1>
10
+
11
+ {%- if page.description -%}
12
+ <p class="lead p-summary" itemprop="description">{{ page.description | default: '' | escape }}</p>
13
+ {%- endif -%}
14
+
15
+ <p>
16
+ {{ site.i18n.published_at }}
17
+
18
+ <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
19
+ {{ page.date | date_local: date_format }}
20
+ </time>
21
+
22
+ {% if page.last_modified_at %}
23
+ {{ site.i18n.last_modified_at }}
24
+
25
+ <time class="dt-published" datetime="{{ page.last_modified_at | date_to_xmlschema }}" itemprop="datePublished">
26
+ {{ page.last_modified_at | date_local: date_format }}
27
+ </time>
28
+ {% endif %}
29
+ </p>
30
+ </header>
31
+
32
+ <div class="e-content" itemprop="articleBody">
33
+ {{ content }}
34
+ </div>
35
+
36
+ <footer>
37
+ <a class="u-url" itemprop="url" href="{{ page.url }}" hidden>
38
+ {{ site.url }}{{ page.url }}
39
+ </a>
40
+
41
+ {%- if page.uuid -%}
42
+ <span hidden itemprop="identifier">{{ page.uuid }}</span>
43
+ {%- endif -%}
44
+ </footer>
45
+ </article>
@@ -2,6 +2,12 @@
2
2
  # Ponemos un frontmatter porque queremos que Jekyll procese este archivo
3
3
  ---
4
4
 
5
+ {%- assign theme = site.posts | find: "layout", "theme" -%}
6
+
7
+ {% if theme %}
8
+ {{ theme | yaml_to_scss: site.data.layouts.theme }}
9
+ {% endif %}
10
+
5
11
  $debug: {{ jekyll.environment | not: 'production' }};
6
12
  $vendor-prefixes: ("", "-webkit-", "-ms-", "-o-", "-moz-");
7
13
  $bezier: cubic-bezier(0.75, 0, 0.25, 1);
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: editorial-autogestiva-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - f
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-21 00:00:00.000000000 Z
11
+ date: 2023-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4'
19
+ version: 4.2.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '4'
26
+ version: 4.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jekyll-relative-urls
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -325,12 +325,15 @@ files:
325
325
  - _data/forms/user.yml
326
326
  - _data/layouts/book.yml
327
327
  - _data/layouts/cart.yml
328
+ - _data/layouts/code_of_conduct.yml
328
329
  - _data/layouts/confirmation.yml
329
- - _data/layouts/editorial.yml
330
+ - _data/layouts/license.yml
330
331
  - _data/layouts/menu.yml
331
332
  - _data/layouts/payment.yml
332
333
  - _data/layouts/post.yml
334
+ - _data/layouts/privacy_policy.yml
333
335
  - _data/layouts/shipment.yml
336
+ - _data/layouts/theme.yml
334
337
  - _includes/boolean.html
335
338
  - _includes/cart.svg
336
339
  - _includes/cart_add.html
@@ -385,14 +388,17 @@ files:
385
388
  - _includes/tel.html
386
389
  - _includes/text.html
387
390
  - _includes/url.html
391
+ - _layouts/about.html
388
392
  - _layouts/book.html
389
393
  - _layouts/cart.html
394
+ - _layouts/code_of_conduct.html
390
395
  - _layouts/confirmation.html
391
396
  - _layouts/default.html
392
- - _layouts/editorial.html
393
397
  - _layouts/home.html
398
+ - _layouts/license.html
394
399
  - _layouts/payment.html
395
400
  - _layouts/post.html
401
+ - _layouts/privacy_policy.html
396
402
  - _layouts/shipment.html
397
403
  - _sass/accessibility.scss
398
404
  - _sass/editor.scss
@@ -1,99 +0,0 @@
1
- ---
2
- title:
3
- type: "string"
4
- required: true
5
- label:
6
- es: "El nombre del proyecto editorial"
7
- en: "Publisher name"
8
- help:
9
- es: "Nombre representativo del proyecto"
10
- en: "A name that represents the publishing project"
11
- description:
12
- type: "text"
13
- required: true
14
- label:
15
- es: "Descripción del proyecto"
16
- en: "Publisher description"
17
- help:
18
- es: "Descripción del proyecto editorial"
19
- en: "How would you describe the project?"
20
- logo:
21
- type: "image"
22
- path:
23
- label:
24
- es: "Logo de la editorial"
25
- en: "Publisher logo"
26
- help:
27
- es: "Resolución recomendada: 1280 píxeles de ancho"
28
- en: "Recommended resolution: 1280 pixels wide"
29
- description:
30
- label:
31
- es: "Descripción del logo"
32
- en: "Logo description"
33
- help:
34
- es: "Describí la imagen por razones de accesibilidad e indexacion en buscadores"
35
- en: "Describe the image for accesibility purposes and for indexation in search engines"
36
- content:
37
- type: "new_content"
38
- label:
39
- es: "Acerca del proyecto"
40
- en: "About the project"
41
- help:
42
- es: "Trayectoria del proyecto, etc"
43
- en: "You could describe your values or trajectory, for example"
44
- address:
45
- type: "string"
46
- label:
47
- es: "La dirección postal"
48
- en: "Postal address"
49
- help:
50
- es: "Código postal de la ciudad"
51
- en: "Zip code"
52
- locality:
53
- type: "string"
54
- label:
55
- es: "Localidad"
56
- en: "Locality"
57
- help:
58
- es: "Nombre de la localidad"
59
- en: "Where are you based?"
60
- country:
61
- type: "string"
62
- label:
63
- es: "País"
64
- en: "Country name"
65
- help:
66
- es: "Nombre del país"
67
- en: "Name of the country"
68
- social_networks:
69
- type: "array"
70
- label:
71
- es: "Redes sociales"
72
- en: "Social networks"
73
- help:
74
- es: "Vínculo completo a perfiles en redes sociales, por ejemplo: https://twitter.com/SuttyWeb"
75
- en: "Full link to social network profiles, ie. https://twitter.com/SuttyWeb"
76
- locales:
77
- type: "locales"
78
- label:
79
- es: "Traducciones"
80
- en: "Translations"
81
- help:
82
- es: "Vínculo al mismo artículo en otros idiomas"
83
- en: "Link to same post in other languages"
84
- draft:
85
- type: "boolean"
86
- label:
87
- es: "Borrador"
88
- en: "Draft"
89
- help:
90
- 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\""
91
- 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)."
92
- order:
93
- type: "order"
94
- label:
95
- es: "Orden"
96
- en: "Order"
97
- help:
98
- es: "La posición del artículo en la lista de artículos"
99
- en: "Position in list of posts"
File without changes