sutty-donaciones-jekyll-theme 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,19 +1,19 @@
1
1
  ---
2
2
  title:
3
- type: 'string'
3
+ type: "string"
4
4
  required: true
5
5
  label:
6
- es: 'Título del artículo'
7
- en: 'Post title'
6
+ es: "Título del artículo"
7
+ en: "Post title"
8
8
  help:
9
- es: '¡Un título que invite a leer el artículo!'
10
- en: 'A title that invites people to read the post!'
9
+ es: "¡Un título que invite a leer el artículo!"
10
+ en: "A title that invites people to read the post!"
11
11
  description:
12
- type: 'text'
12
+ type: "text"
13
13
  required: true
14
14
  label:
15
- es: 'Alerta de contenido o descripción del artículo'
16
- en: 'Content warning or post description'
15
+ es: "Alerta de contenido o descripción del artículo"
16
+ en: "Content warning or post description"
17
17
  help:
18
18
  es: |
19
19
  Resumen del contenido del artículo, que también usarán redes
@@ -27,87 +27,66 @@ description:
27
27
  topics, we invite you to use it as a content warning, so others
28
28
  can decide when they want to read it.
29
29
  author:
30
- type: 'array'
30
+ type: "array"
31
31
  label:
32
- es: 'Autores'
33
- en: 'Authors'
32
+ es: "Autores"
33
+ en: "Authors"
34
34
  help:
35
- es: 'Quiénes participaron en la escritura de este artículo'
36
- en: 'Who collaborated in write this post'
35
+ es: "Empieza a escribir para filtrar valores ya usados. Presiona enter para agregar el ítem seleccionado o agregar uno nuevo si no existe."
36
+ en: "Start typing to filter previously used values. Press enter to add the selected item or a new one if it doesn't exist yet."
37
37
  image:
38
- type: 'image'
38
+ type: "image"
39
39
  path:
40
40
  label:
41
- es: 'Imagen principal'
42
- en: 'Main image'
41
+ es: "Imagen principal"
42
+ en: "Main image"
43
43
  help:
44
- es: |
45
- Se utiliza para ilustrar el artículo y como previsualización en
46
- las redes sociales.
47
- en: |
48
- It's used to illustrate the article and as preview in social
49
- networks.
44
+ es: "Se utiliza para ilustrar el artículo y como previsualización en las redes sociales."
45
+ en: "Used to illustrate the article and as preview in social networks."
50
46
  description:
51
47
  label:
52
- es: 'Descripción de la imagen principal'
53
- en: 'Main image description'
48
+ es: "Descripción de la imagen principal"
49
+ en: "Main image description"
54
50
  help:
55
- es: |
56
- Describe la imagen principal para usuaries no videntes y
57
- buscadores
58
- en: |
59
- Describe the main image for blind or partially sighted users and
60
- search engines
51
+ es: "Describí la imagen por razones de accesibilidad e indexacion en buscadores"
52
+ en: "Describe the image for accesibility purposes and for indexation in search engines"
61
53
  content:
62
- type: 'content'
54
+ type: "new_content"
63
55
  label:
64
- es: 'Contenido del artículo'
65
- en: 'Post content'
56
+ es: "Contenido del artículo"
57
+ en: "Post content"
66
58
  help:
67
- es: 'Escribe aquí el artículo'
68
- en: 'Write down your post'
69
- permalink:
70
- type: 'string'
71
- label:
72
- es: 'Enlace'
73
- en: 'Permalink'
74
- help:
75
- es: |
76
- Si no quieres utilizar el formato de enlaces general del sitio
77
- para este artículo, especifica uno aquí.
78
- en: |
79
- If you don't want to follow the site's link format for this
80
- post, change it here.
81
- categories:
82
- type: 'array'
59
+ es: "Escribe aquí el artículo"
60
+ en: "Write your post here"
61
+ tags:
62
+ type: "array"
83
63
  label:
84
- es: 'Categorías'
85
- en: 'Categories'
64
+ es: "Etiquetas"
65
+ en: "Tags"
86
66
  help:
87
- es: 'Ayudan a organizar los artículos en temas'
88
- en: 'Use categories to organize posts by themes'
89
- tags:
90
- type: 'array'
67
+ es: "Empieza a escribir para filtrar valores ya usados. Presiona enter para agregar el ítem seleccionado o agregar uno nuevo si no existe."
68
+ en: "Start typing to filter previously used values. Press enter to add the selected item or a new one if it doesn't exist yet."
69
+ locales:
70
+ type: "locales"
91
71
  label:
92
- es: 'Etiquetas'
93
- en: 'Tags'
72
+ es: "Traducciones"
73
+ en: "Translations"
94
74
  help:
95
- es: 'Usa etiquetas para resaltar palabras clave'
96
- en: 'Tags are helpful as keywords'
75
+ es: "Vínculo al mismo artículo en otros idiomas"
76
+ en: "Link to same post in other languages"
97
77
  draft:
98
- type: 'boolean'
78
+ type: "boolean"
99
79
  label:
100
- es: 'Borrador'
101
- en: 'Draft'
80
+ es: "Borrador"
81
+ en: "Draft"
102
82
  help:
103
- es: 'Este artículo aun no está listo para publicar'
104
- en: "This post isn't ready to be published yet"
83
+ 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\""
84
+ 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)."
105
85
  order:
106
- type: 'order'
86
+ type: "order"
107
87
  label:
108
- es: 'Orden'
109
- en: 'Order'
88
+ es: "Orden"
89
+ en: "Order"
110
90
  help:
111
- es: 'La posición del artículo en la lista de artículos'
112
- en: 'The post position in the posts list'
113
- ---
91
+ es: "La posición del artículo en la lista de artículos"
92
+ 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"
@@ -0,0 +1,26 @@
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
+
5
+ <footer class="p-3">
6
+ <ul class="list-unstyled">
7
+ {% if license %}
8
+ <li>
9
+ <a href="{{ license.url }}" rel="license">{{ license.title }}</a>
10
+ </li>
11
+ {% endif %}
12
+
13
+ {% if code_of_conduct %}
14
+ <li>
15
+ <a href="{{ code_of_conduct.url }}" rel="code-of-conduct">{{ code_of_conduct.title }}</a>
16
+ </li>
17
+ {% endif %}
18
+
19
+ {% if privacy_policy %}
20
+ <li>
21
+ <a href="{{ privacy_policy.url }}" rel="privacy-policy">{{ privacy_policy.title }}</a>
22
+ </li>
23
+ {% endif %}
24
+
25
+ <p class="text-center">{{ site.i18n.footer.description | markdownify }}</p>
26
+ </footer>
@@ -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>
@@ -7,8 +7,9 @@
7
7
  <meta content="width=device-width, initial-scale=1.0" name="viewport">
8
8
  <meta name="theme-color" content="white"/>
9
9
  <meta name="color-scheme" content="light"/>
10
+ <meta name="referrer" content="strict-origin-when-cross-origin"/>
10
11
 
11
- <link href="assets/css/styles.css" rel="stylesheet">
12
+ <link href="assets/css/styles.css?{{ site.time | date: '%s' }}" rel="stylesheet" data-turbo-track="reload">
12
13
 
13
14
  {% seo %}
14
15
  {% feed_meta %}
@@ -22,6 +23,6 @@
22
23
  </div>
23
24
  </div>
24
25
  </main>
25
- <footer class="text-center">{{ site.i18n.footer.description | markdownify }}</footer>
26
+ {% include_cached footer.html %}
26
27
  </body>
27
28
  </html>
data/_layouts/home.html CHANGED
@@ -27,6 +27,7 @@ layout: default
27
27
  <a
28
28
  class="btn btn-block btn-lg btn-{{ boton.slug }} mt-3"
29
29
  target="_blank"
30
+ rel="noopener"
30
31
  href="{{ boton.payment_url }}">{{ boton.title }}</a>
31
32
  {% endfor %}
32
33
  </div>
@@ -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>