recursero-jekyll-theme 0.2.0 → 0.3.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
@@ -22,111 +22,99 @@ description:
22
22
  contenido, para que las personas puedan determinar cuándo quieren
23
23
  abrirlo.
24
24
  en: |
25
- Summary of post content, also used by social media and search
26
- engines. If the post includes violence or other sensitive
27
- topics, we invite you to use it as a content warning, so that others
28
- may decide when they want to read it.
25
+ Summary of the post contents, 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
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 wrote this post?'
35
+ es: "Empieza a escribir para filtrar valores ya usados. Presiona enter para agregar ítems."
36
+ en: "Start typing to filter previously used values. Press enter to add items."
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
- 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 the visually impaired and
60
- search engines
51
+ es: "Describe la imagen principal para usuaries no videntes y buscadores"
52
+ en: "Describe the main image for blind or partially sighted users and 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 your post here'
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 want to use link format for this post other than the default,
80
- change it here.
59
+ es: "Escribe aquí el artículo"
60
+ en: "Write down your post"
81
61
  categories:
82
- type: 'has_and_belongs_to_many'
62
+ type: "has_and_belongs_to_many"
83
63
  filter:
84
- layout: 'category'
85
- inverse: 'posts'
64
+ layout: "category"
65
+ inverse: "posts"
86
66
  label:
87
- es: 'Categorías'
88
- en: 'Categories'
67
+ es: "Categorías"
68
+ en: "Categories"
89
69
  help:
90
- es: 'Ayudan a organizar los artículos en temas'
91
- en: 'Use categories to order posts by theme'
70
+ es: "Empieza a escribir para filtrar valores ya usados. Presiona enter para agregar ítems."
71
+ en: "Start typing to filter previously used values. Press enter to add items."
92
72
  tags:
93
- type: 'array'
73
+ type: "array"
94
74
  label:
95
- es: 'Etiquetas'
96
- en: 'Tags'
75
+ es: "Etiquetas"
76
+ en: "Tags"
97
77
  help:
98
- es: 'Usa etiquetas para resaltar palabras clave'
99
- en: 'Tags are helpful as keywords'
100
- posts:
101
- type: 'related_posts'
78
+ es: "Empieza a escribir para filtrar valores ya usados. Presiona enter para agregar ítems."
79
+ en: "Start typing to filter previously used values. Press enter to add items."
80
+ locales:
81
+ type: "locales"
102
82
  label:
103
- es: 'Artículos relacionados'
104
- en: ''
83
+ es: "Traducciones"
84
+ en: "Translations"
105
85
  help:
106
- es: 'Empieza a escribir para completar'
107
- en: 'Start writing to autocomplete with possible posts!'
108
- draft:
109
- type: 'boolean'
86
+ es: "Vínculo a los artículos en otros idiomas"
87
+ en: "Link to the post in other languages"
88
+ notes:
89
+ type: "new_html"
90
+ private: true
110
91
  label:
111
- es: 'Borrador'
112
- en: 'Draft'
92
+ es: "Notas"
93
+ en: "Notes"
113
94
  help:
114
- es: 'Este artículo aun no está listo para publicar'
115
- en: "This post isn't ready to be published yet"
116
- order:
117
- type: 'order'
95
+ es: "Comentarios internos, recordatorios, información privada. ¡No se publica en el sitio!"
96
+ en: "Internal comments, reminders, private information. This won't be published to the website and will appear encrypted in source code"
97
+ locales:
98
+ type: "locales"
118
99
  label:
119
- es: 'Orden'
120
- en: 'Order'
100
+ es: "Traducciones"
101
+ en: "Translations"
121
102
  help:
122
- es: 'La posición del artículo en la lista de artículos'
123
- en: 'Post position in list'
124
- notes:
125
- type: 'markdown'
126
- private: true
103
+ es: "Vínculo al mismo artículo en otros idiomas"
104
+ en: "Link to same post in other languages"
105
+ draft:
106
+ type: "boolean"
127
107
  label:
128
- es: 'Notas'
129
- en: 'Notes'
108
+ es: "Borrador"
109
+ en: "Draft"
130
110
  help:
131
- es: 'Comentarios internos, recordatorios, información privada. ¡No se publica en el sitio!'
132
- en: "Internal comments, reminders, private information. This won't be published to the website and will appear encrypted in source code"
111
+ 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\""
112
+ 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)."
113
+ order:
114
+ type: "order"
115
+ label:
116
+ es: "Orden"
117
+ en: "Order"
118
+ help:
119
+ es: "La posición del artículo en la lista de artículos"
120
+ 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,4 +1,8 @@
1
1
  {%- assign about = site.posts | find: 'layout', 'about' -%}
2
+ {%- assign license = site.posts | find: "layout", "license" -%}
3
+ {%- assign code_of_conduct = site.posts | find: "layout", "code_of_conduct" -%}
4
+ {%- assign privacy_policy = site.posts | find: "layout", "privacy_policy" -%}
5
+
2
6
  <footer class="d-flex align-items-center justify-content-center mt-5 pt-3 pb-3 background-gray-dark">
3
7
  {%- if about.email -%}
4
8
  <a class="gray" href="mailto:{{ about.email }}" rel="me" title="{{ site.title }}">{{ about.email }}</a>
@@ -11,4 +15,23 @@
11
15
  <span class="sr-only">{{ n.name }}</span>
12
16
  </a>
13
17
  {%- endfor -%}
18
+
19
+ <ul class="list-unstyled">
20
+ {% if license %}
21
+ <li>
22
+ <a href="{{ license.url }}" rel="license">{{ license.title }}</a>
23
+ </li>
24
+ {% endif %}
25
+
26
+ {% if code_of_conduct %}
27
+ <li>
28
+ <a href="{{ code_of_conduct.url }}" rel="code-of-conduct">{{ code_of_conduct.title }}</a>
29
+ </li>
30
+ {% endif %}
31
+
32
+ {% if privacy_policy %}
33
+ <li>
34
+ <a href="{{ privacy_policy.url }}" rel="privacy-policy">{{ privacy_policy.title }}</a>
35
+ </li>
36
+ {% endif %}
14
37
  </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>
@@ -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>