radios-comunitarias-jekyll-theme 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/layouts/post.yml +54 -74
- data/_data/layouts/radio.yml +100 -102
- metadata +3 -20
- data/_layouts/default.html.orig +0 -62
- data/assets/css/styles.scss.orig +0 -76
- data/assets/js/script.js.orig +0 -99
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92fa91bea601ea69c096386b4acb61deab371da9a6833ce3fd36ea3cc3b00281
|
4
|
+
data.tar.gz: ea9fc55af18067ef55d8733502e380cd2f8070b0e9e359cb9be0ea504787dc54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc5d47c308618474c32b761250a1444f3b819e5517f90e9f2c3c8cd5e98941013d493c9f314bbf6e379b5dc18f0dba7201f1a5bdb8922d8b5fc70a929936d5be
|
7
|
+
data.tar.gz: c31d14233836831608d386ca8c370d618e5e91bc5282bb3deb03ff33da7f38aa57a3ee544064f32adc67f4078fe42c268aa110800caefd39799ecede7b78db63
|
data/_data/layouts/post.yml
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
---
|
2
2
|
title:
|
3
|
-
type:
|
3
|
+
type: "string"
|
4
4
|
required: true
|
5
5
|
label:
|
6
|
-
es:
|
7
|
-
en:
|
6
|
+
es: "Título del artículo"
|
7
|
+
en: "Post title"
|
8
8
|
help:
|
9
|
-
es:
|
10
|
-
en:
|
9
|
+
es: "¡Un título que invite a leer el artículo!"
|
10
|
+
en: "A title that makes people want to read the post!"
|
11
11
|
description:
|
12
|
-
type:
|
12
|
+
type: "text"
|
13
13
|
required: true
|
14
14
|
label:
|
15
|
-
es:
|
16
|
-
en:
|
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,99 +22,79 @@ description:
|
|
22
22
|
contenido, para que las personas puedan determinar cuándo quieren
|
23
23
|
abrirlo.
|
24
24
|
en: |
|
25
|
-
Summary of
|
26
|
-
engines.
|
25
|
+
Summary of post content, also used by social media and search
|
26
|
+
engines. If the post is about violence and other sensitive
|
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:
|
30
|
+
type: "array"
|
31
31
|
label:
|
32
|
-
es:
|
33
|
-
en:
|
32
|
+
es: "Autores"
|
33
|
+
en: "Authors"
|
34
34
|
help:
|
35
|
-
es:
|
36
|
-
en:
|
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:
|
38
|
+
type: "image"
|
39
39
|
path:
|
40
40
|
label:
|
41
|
-
es:
|
42
|
-
en:
|
41
|
+
es: "Imagen principal"
|
42
|
+
en: "Main image"
|
43
43
|
help:
|
44
|
-
es:
|
45
|
-
|
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:
|
53
|
-
en:
|
48
|
+
es: "Descripción de la imagen principal"
|
49
|
+
en: "Main image description"
|
54
50
|
help:
|
55
|
-
es:
|
56
|
-
|
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:
|
54
|
+
type: "new_content"
|
63
55
|
label:
|
64
|
-
es:
|
65
|
-
en:
|
56
|
+
es: "Contenido del artículo"
|
57
|
+
en: "Post content"
|
66
58
|
help:
|
67
|
-
es:
|
68
|
-
en:
|
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.
|
59
|
+
es: "Escribe aquí el artículo"
|
60
|
+
en: "Write your post here"
|
81
61
|
categories:
|
82
|
-
type:
|
62
|
+
type: "array"
|
83
63
|
label:
|
84
|
-
es:
|
85
|
-
en:
|
64
|
+
es: "Categorías"
|
65
|
+
en: "Categories"
|
86
66
|
help:
|
87
|
-
es:
|
88
|
-
en:
|
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."
|
89
69
|
tags:
|
90
|
-
type:
|
70
|
+
type: "array"
|
91
71
|
label:
|
92
|
-
es:
|
93
|
-
en:
|
72
|
+
es: "Etiquetas"
|
73
|
+
en: "Tags"
|
94
74
|
help:
|
95
|
-
es:
|
96
|
-
en:
|
75
|
+
es: "Empieza a escribir para filtrar valores ya usados. Presiona enter para agregar el ítem seleccionado o agregar uno nuevo si no existe."
|
76
|
+
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."
|
97
77
|
locales:
|
98
|
-
type:
|
78
|
+
type: "locales"
|
99
79
|
label:
|
100
|
-
es:
|
101
|
-
en:
|
80
|
+
es: "Traducciones"
|
81
|
+
en: "Translations"
|
102
82
|
help:
|
103
|
-
es:
|
104
|
-
en:
|
83
|
+
es: "Vínculo al mismo artículo en otros idiomas"
|
84
|
+
en: "Link to same post in other languages"
|
105
85
|
draft:
|
106
|
-
type:
|
86
|
+
type: "boolean"
|
107
87
|
label:
|
108
|
-
es:
|
109
|
-
en:
|
88
|
+
es: "Borrador"
|
89
|
+
en: "Draft"
|
110
90
|
help:
|
111
|
-
es:
|
112
|
-
en: "
|
91
|
+
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\""
|
92
|
+
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
93
|
order:
|
114
|
-
type:
|
94
|
+
type: "order"
|
115
95
|
label:
|
116
|
-
es:
|
117
|
-
en:
|
96
|
+
es: "Orden"
|
97
|
+
en: "Order"
|
118
98
|
help:
|
119
|
-
es:
|
120
|
-
en:
|
99
|
+
es: "La posición del artículo en la lista de artículos"
|
100
|
+
en: "Position in list of posts"
|
data/_data/layouts/radio.yml
CHANGED
@@ -1,173 +1,171 @@
|
|
1
1
|
---
|
2
2
|
title:
|
3
|
-
type:
|
3
|
+
type: "string"
|
4
4
|
required: true
|
5
5
|
label:
|
6
|
-
es:
|
6
|
+
es: "Nombre de la radio"
|
7
7
|
en: "Radio's name"
|
8
8
|
help:
|
9
|
-
es:
|
10
|
-
en:
|
9
|
+
es: ""
|
10
|
+
en: ""
|
11
11
|
description:
|
12
|
-
type:
|
12
|
+
type: "text"
|
13
13
|
required: true
|
14
14
|
label:
|
15
|
-
es:
|
15
|
+
es: "Descripción corta de la radio"
|
16
16
|
en: "Radio's short description"
|
17
17
|
help:
|
18
|
-
es:
|
19
|
-
en:
|
18
|
+
es: ""
|
19
|
+
en: ""
|
20
20
|
logo:
|
21
|
-
type:
|
21
|
+
type: "image"
|
22
22
|
path:
|
23
23
|
label:
|
24
|
-
es:
|
25
|
-
en:
|
24
|
+
es: "Logo"
|
25
|
+
en: "Logo"
|
26
26
|
help:
|
27
|
-
es:
|
28
|
-
en:
|
27
|
+
es: ""
|
28
|
+
en: ""
|
29
29
|
description:
|
30
30
|
label:
|
31
|
-
es:
|
32
|
-
en:
|
31
|
+
es: "Descripción del logo"
|
32
|
+
en: "Logo description"
|
33
33
|
help:
|
34
|
-
es:
|
35
|
-
en:
|
36
|
-
Describe the logo for blind or partially sighted users and
|
37
|
-
search engines
|
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"
|
38
36
|
content:
|
39
|
-
type:
|
37
|
+
type: "new_content"
|
40
38
|
label:
|
41
|
-
es:
|
42
|
-
en:
|
39
|
+
es: "Presentación de la radio"
|
40
|
+
en: "Radio presentation"
|
43
41
|
help:
|
44
|
-
es:
|
45
|
-
en:
|
42
|
+
es: "Historia, trasfondo, principios políticos, etc."
|
43
|
+
en: "History, context, political principles, etc."
|
46
44
|
streams:
|
47
|
-
type:
|
45
|
+
type: "array"
|
48
46
|
label:
|
49
|
-
es:
|
50
|
-
en:
|
47
|
+
es: "Direcciones de la transmisión"
|
48
|
+
en: "Transmission addresses"
|
51
49
|
help:
|
52
|
-
es:
|
53
|
-
en:
|
50
|
+
es: "Las direcciones de la transmisión de Icecast, pueden ser varias para tener opciones o tener varios formatos para soportar distintos navegadores (ogg para todos, mp3 para Safari)."
|
51
|
+
en: "Icecast addresses, could be several for backup or have different formats (ogg for all browsers, mp3 for Safari)."
|
54
52
|
fediverse:
|
55
|
-
type:
|
53
|
+
type: "url"
|
56
54
|
label:
|
57
|
-
es:
|
58
|
-
en:
|
55
|
+
es: "Fediverso"
|
56
|
+
en: "Fediverse"
|
59
57
|
help:
|
60
|
-
es:
|
61
|
-
en:
|
58
|
+
es: "Dirección completa al perfil"
|
59
|
+
en: "Full address to the profile"
|
62
60
|
facebook:
|
63
|
-
type:
|
61
|
+
type: "url"
|
64
62
|
label:
|
65
|
-
es:
|
66
|
-
en:
|
63
|
+
es: "Facebook"
|
64
|
+
en: "Facebook"
|
67
65
|
help:
|
68
|
-
es:
|
69
|
-
en:
|
66
|
+
es: "Dirección completa al perfil"
|
67
|
+
en: "Full address to the profile"
|
70
68
|
instagram:
|
71
|
-
type:
|
69
|
+
type: "url"
|
72
70
|
label:
|
73
|
-
es:
|
74
|
-
en:
|
71
|
+
es: "Instagram"
|
72
|
+
en: "Instagram"
|
75
73
|
help:
|
76
|
-
es:
|
77
|
-
en:
|
74
|
+
es: "Dirección completa al perfil"
|
75
|
+
en: "Full address to the profile"
|
78
76
|
twitter:
|
79
|
-
type:
|
77
|
+
type: "url"
|
80
78
|
label:
|
81
|
-
es:
|
82
|
-
en:
|
79
|
+
es: "Twitter"
|
80
|
+
en: "Twitter"
|
83
81
|
help:
|
84
|
-
es:
|
85
|
-
en:
|
82
|
+
es: "Dirección completa al perfil"
|
83
|
+
en: "Full address to the profile"
|
86
84
|
youtube:
|
87
|
-
type:
|
85
|
+
type: "url"
|
88
86
|
label:
|
89
|
-
es:
|
90
|
-
en:
|
87
|
+
es: "Youtube"
|
88
|
+
en: "Youtube"
|
91
89
|
help:
|
92
|
-
es:
|
93
|
-
en:
|
90
|
+
es: "Dirección completa al perfil"
|
91
|
+
en: "Full address to the profile"
|
94
92
|
internet_archive:
|
95
|
-
type:
|
93
|
+
type: "url"
|
96
94
|
label:
|
97
|
-
es:
|
98
|
-
en:
|
95
|
+
es: "Internet Archive"
|
96
|
+
en: "Internet Archive"
|
99
97
|
help:
|
100
|
-
es:
|
98
|
+
es: "Dirección completa al archivo de la radio"
|
101
99
|
en: "Full address to the radio's archive"
|
102
100
|
email:
|
103
|
-
type:
|
101
|
+
type: "email"
|
104
102
|
label:
|
105
|
-
es:
|
106
|
-
en:
|
103
|
+
es: "Correo electrónico"
|
104
|
+
en: "E-mail"
|
107
105
|
help:
|
108
|
-
es:
|
109
|
-
en:
|
106
|
+
es: ""
|
107
|
+
en: ""
|
110
108
|
background_color:
|
111
|
-
type:
|
109
|
+
type: "color"
|
112
110
|
label:
|
113
|
-
es:
|
114
|
-
en:
|
111
|
+
es: "Color de fondo del sitio"
|
112
|
+
en: ""
|
115
113
|
help:
|
116
|
-
es:
|
114
|
+
es: "Si tenés dudas seleccionando colores, te recomendamos contactar a le diseñadore [librenauta](https://copiona.com/), o elegir colores con [criterio de accesibilidad](https://randoma11y.com/)."
|
117
115
|
en: "If you're in doubt while selecting colors, we invite you to contact the designer [librenauta](https://copiona.com/) or pick color using [accessibility criteria](https://randoma11y.com/)."
|
118
116
|
foreground_color:
|
119
|
-
type:
|
117
|
+
type: "color"
|
120
118
|
label:
|
121
|
-
es:
|
122
|
-
en:
|
119
|
+
es: "Color del texto del sitio"
|
120
|
+
en: ""
|
123
121
|
help:
|
124
|
-
es:
|
125
|
-
en:
|
122
|
+
es: ""
|
123
|
+
en: ""
|
126
124
|
navbar_background_color:
|
127
|
-
type:
|
125
|
+
type: "color"
|
128
126
|
label:
|
129
|
-
es:
|
130
|
-
en:
|
127
|
+
es: "Color de fondo del reproductor de la radio y de los vínculos en el sitio"
|
128
|
+
en: ""
|
131
129
|
help:
|
132
|
-
es:
|
133
|
-
en:
|
130
|
+
es: ""
|
131
|
+
en: ""
|
134
132
|
navbar_foreground_color:
|
135
|
-
type:
|
133
|
+
type: "color"
|
136
134
|
label:
|
137
|
-
es:
|
138
|
-
en:
|
135
|
+
es: "Color del texto del reproductor de la radio"
|
136
|
+
en: ""
|
139
137
|
help:
|
140
|
-
es:
|
141
|
-
en:
|
138
|
+
es: ""
|
139
|
+
en: ""
|
142
140
|
social_foreground_color:
|
143
|
-
type:
|
141
|
+
type: "color"
|
144
142
|
label:
|
145
|
-
es:
|
146
|
-
en:
|
143
|
+
es: "Color de los botones de redes sociales"
|
144
|
+
en: ""
|
147
145
|
help:
|
148
|
-
es:
|
149
|
-
en:
|
146
|
+
es: ""
|
147
|
+
en: ""
|
150
148
|
locales:
|
151
|
-
type:
|
149
|
+
type: "locales"
|
152
150
|
label:
|
153
|
-
es:
|
154
|
-
en:
|
151
|
+
es: "Traducciones"
|
152
|
+
en: "Translations"
|
155
153
|
help:
|
156
|
-
es:
|
157
|
-
en:
|
154
|
+
es: "Vínculo al mismo artículo en otros idiomas"
|
155
|
+
en: "Link to same post in other languages"
|
158
156
|
draft:
|
159
|
-
type:
|
157
|
+
type: "boolean"
|
160
158
|
label:
|
161
|
-
es:
|
162
|
-
en:
|
159
|
+
es: "Borrador"
|
160
|
+
en: "Draft"
|
163
161
|
help:
|
164
|
-
es:
|
165
|
-
en: "
|
162
|
+
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\""
|
163
|
+
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)."
|
166
164
|
order:
|
167
|
-
type:
|
165
|
+
type: "order"
|
168
166
|
label:
|
169
|
-
es:
|
170
|
-
en:
|
167
|
+
es: "Orden"
|
168
|
+
en: "Order"
|
171
169
|
help:
|
172
|
-
es:
|
173
|
-
en:
|
170
|
+
es: "La posición del artículo en la lista de artículos"
|
171
|
+
en: "Position in list of posts"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radios-comunitarias-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- f
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2023-03-21 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: jekyll
|
@@ -125,20 +125,6 @@ dependencies:
|
|
125
125
|
- - "~>"
|
126
126
|
- !ruby/object:Gem::Version
|
127
127
|
version: '0.1'
|
128
|
-
- !ruby/object:Gem::Dependency
|
129
|
-
name: jekyll-turbolinks
|
130
|
-
requirement: !ruby/object:Gem::Requirement
|
131
|
-
requirements:
|
132
|
-
- - "~>"
|
133
|
-
- !ruby/object:Gem::Version
|
134
|
-
version: '0'
|
135
|
-
type: :runtime
|
136
|
-
prerelease: false
|
137
|
-
version_requirements: !ruby/object:Gem::Requirement
|
138
|
-
requirements:
|
139
|
-
- - "~>"
|
140
|
-
- !ruby/object:Gem::Version
|
141
|
-
version: '0'
|
142
128
|
- !ruby/object:Gem::Dependency
|
143
129
|
name: jekyll-linked-posts
|
144
130
|
requirement: !ruby/object:Gem::Requirement
|
@@ -271,7 +257,6 @@ files:
|
|
271
257
|
- _includes/text.html
|
272
258
|
- _includes/url.html
|
273
259
|
- _layouts/default.html
|
274
|
-
- _layouts/default.html.orig
|
275
260
|
- _layouts/home.html
|
276
261
|
- _layouts/post.html
|
277
262
|
- _layouts/radio.html
|
@@ -283,10 +268,8 @@ files:
|
|
283
268
|
- _sass/share_box.scss
|
284
269
|
- _sass/toggler.scss
|
285
270
|
- assets/css/styles.scss
|
286
|
-
- assets/css/styles.scss.orig
|
287
271
|
- assets/fonts/forkawesome-webfont.woff2
|
288
272
|
- assets/js/script.js
|
289
|
-
- assets/js/script.js.orig
|
290
273
|
homepage: https://0xacab.org/sutty/jekyll/radios-comunitarias-jekyll-theme
|
291
274
|
licenses:
|
292
275
|
- Nonstandard
|
@@ -318,7 +301,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
318
301
|
- !ruby/object:Gem::Version
|
319
302
|
version: '0'
|
320
303
|
requirements: []
|
321
|
-
rubygems_version: 3.
|
304
|
+
rubygems_version: 3.3.26
|
322
305
|
signing_key:
|
323
306
|
specification_version: 4
|
324
307
|
summary: Theme for community radio
|
data/_layouts/default.html.orig
DELETED
@@ -1,62 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="{{ site.lang }}" dir="{{ site.dir }}">
|
3
|
-
<head>
|
4
|
-
<meta charset="UTF-8">
|
5
|
-
<base href="{% base %}" />
|
6
|
-
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
7
|
-
<meta content="width=device-width, initial-scale=1.0" name="viewport">
|
8
|
-
<meta name="theme-color" content="white"/>
|
9
|
-
<meta name="color-scheme" content="light"/>
|
10
|
-
<<<<<<< HEAD
|
11
|
-
<meta name="referrer" content="strict-origin-when-cross-origin">
|
12
|
-
=======
|
13
|
-
<meta name="referrer" content="strict-origin-when-cross-origin"/>
|
14
|
-
>>>>>>> ae133915c865b686fcb7071e1cd2c8c580cb3b8c
|
15
|
-
|
16
|
-
<link href="assets/css/styles.css" rel="stylesheet">
|
17
|
-
<script defer type="text/javascript" src="assets/js/script.js"></script>
|
18
|
-
|
19
|
-
{% seo %}
|
20
|
-
{% feed_meta %}
|
21
|
-
|
22
|
-
{%- if page.locales -%}
|
23
|
-
{% for locale in page.locales %}
|
24
|
-
<link
|
25
|
-
rel="alternate"
|
26
|
-
hreflang="{{ locale.collection }}"
|
27
|
-
href="{{ site.url }}{{ locale.collection }}/{{ locale.url }}" />
|
28
|
-
{% endfor %}
|
29
|
-
{%- else -%}
|
30
|
-
{% for locale in site.locales %}
|
31
|
-
{% if locale == site.locale %}{% continue %}{% endif %}
|
32
|
-
<link
|
33
|
-
rel="alternate"
|
34
|
-
hreflang="{{ locale }}"
|
35
|
-
href="{{ site.url }}{{ locale }}/" />
|
36
|
-
{% endfor %}
|
37
|
-
{%- endif -%}
|
38
|
-
</head>
|
39
|
-
{% comment %}
|
40
|
-
El sitio es una columna grande y el pie está siempre al final, para
|
41
|
-
imprimirlo lo mostramos como un bloque.
|
42
|
-
|
43
|
-
El alto mínimo del sitio es el alto de la pantalla.
|
44
|
-
{% endcomment %}
|
45
|
-
<body class="d-flex flex-column justify-content-between d-print-block min-vh-100">
|
46
|
-
{% include_cached navbar.html %}
|
47
|
-
|
48
|
-
{% comment %}
|
49
|
-
El espacio principal se expande para ocupar todo el alto
|
50
|
-
disponible y empuja el pie al fondo.
|
51
|
-
{% endcomment %}
|
52
|
-
<main class="flex-grow-1">
|
53
|
-
<div class="row no-gutters align-items-center justify-content-center d-print-block">
|
54
|
-
<div class="col-10">
|
55
|
-
{{ content }}
|
56
|
-
</div>
|
57
|
-
</div>
|
58
|
-
</main>
|
59
|
-
|
60
|
-
{% include_cached footer.html %}
|
61
|
-
</body>
|
62
|
-
</html>
|
data/assets/css/styles.scss.orig
DELETED
@@ -1,76 +0,0 @@
|
|
1
|
-
---
|
2
|
-
# Ponemos un frontmatter porque queremos que Jekyll procese este archivo
|
3
|
-
---
|
4
|
-
|
5
|
-
// El primer artículo que sea de tipo radio
|
6
|
-
{%- assign radio = site.posts | find: 'layout', 'radio' -%}
|
7
|
-
|
8
|
-
// Pasar variables de Liquid a SASS
|
9
|
-
$navbar-background: {{ radio.navbar_background_color | default: '#6dc381' }};
|
10
|
-
$navbar-foreground: {{ radio.navbar_foreground_color | default: '#241f31' }};
|
11
|
-
$social-foreground: {{ radio.social_foreground_color | default: 'white' }};
|
12
|
-
|
13
|
-
// Redefinir los colores de Bootstrap en base a los elegidos, esto
|
14
|
-
// cambia recursivamente algunas sombras y todo
|
15
|
-
$body-bg: {{ radio.background_color | default: 'white' }};
|
16
|
-
$body-color: {{ radio.foreground_color | default: '#241f31' }};
|
17
|
-
$link-color: $navbar-background;
|
18
|
-
|
19
|
-
// Tamaño del nombre de la radio
|
20
|
-
$navbar-brand-font-size: 1rem;
|
21
|
-
|
22
|
-
/*
|
23
|
-
* XXX: Solo importar los archivos necesarios de bootstrap para
|
24
|
-
* facilitar la reducción de CSS. Por ahora pedimos todo para poder
|
25
|
-
* empezar a trabajar en el HTML sin pensar en CSS.
|
26
|
-
*
|
27
|
-
* Los archivos se encuentran en node_modules/bootstrap/scss
|
28
|
-
*/
|
29
|
-
@import "bootstrap/scss/bootstrap";
|
30
|
-
@import "fork-awesome/scss/fork-awesome";
|
31
|
-
@import "accessibility";
|
32
|
-
@import "helpers";
|
33
|
-
@import "toggler";
|
34
|
-
@import "share_box";
|
35
|
-
<<<<<<< HEAD
|
36
|
-
|
37
|
-
// Lo que vaya a llevar los colores de la barra de navegación
|
38
|
-
.navbar-theme {
|
39
|
-
background-color: $navbar-background !important;
|
40
|
-
color: $navbar-foreground !important;
|
41
|
-
|
42
|
-
a {
|
43
|
-
color: $navbar-foreground;
|
44
|
-
|
45
|
-
@include hover() {
|
46
|
-
color: darken($navbar-foreground, 15%) !important;
|
47
|
-
}
|
48
|
-
}
|
49
|
-
|
50
|
-
// Define la clase que va a llevar el color de los botones de redes sociales
|
51
|
-
// XXX: Va dentro de navbar-theme porque es el único lugar donde los
|
52
|
-
// vamos a usar por ahora.
|
53
|
-
.social-theme {
|
54
|
-
color: $social-foreground !important;
|
55
|
-
|
56
|
-
// Cambiar de color los botones al pasar por encima
|
57
|
-
// XXX: La función viene de Bootstrap, por eso está la definición
|
58
|
-
// después de incluirlo.
|
59
|
-
@include hover() {
|
60
|
-
color: darken($social-foreground, 15%) !important;
|
61
|
-
}
|
62
|
-
}
|
63
|
-
}
|
64
|
-
|
65
|
-
.turbolinks-progress-bar {
|
66
|
-
background-color: $navbar-foreground;
|
67
|
-
}
|
68
|
-
|
69
|
-
iframe {
|
70
|
-
border: 0;
|
71
|
-
width: 100%;
|
72
|
-
min-height: 480px;
|
73
|
-
}
|
74
|
-
=======
|
75
|
-
@import "embed";
|
76
|
-
>>>>>>> ae133915c865b686fcb7071e1cd2c8c580cb3b8c
|
data/assets/js/script.js.orig
DELETED
@@ -1,99 +0,0 @@
|
|
1
|
-
---
|
2
|
-
---
|
3
|
-
|
4
|
-
<<<<<<< HEAD
|
5
|
-
{% comment %}
|
6
|
-
TODO: Asignar esta variable una sola vez!
|
7
|
-
{% endcomment %}
|
8
|
-
{%- assign radio = site.posts | find: 'layout', 'radio' -%}
|
9
|
-
|
10
|
-
{% turbolinks %}
|
11
|
-
|
12
|
-
// Inicia y gestiona el stream
|
13
|
-
const streaming = (element) => {
|
14
|
-
// Cambiar el src para que incluya un timestamp, esto engaña a Firefox
|
15
|
-
// a recargar el video cuando se corta en lugar de pensar que terminó
|
16
|
-
// la descarga y empezar a reproducir desde el principio.
|
17
|
-
element.querySelectorAll('source').forEach(source => {
|
18
|
-
// Obtener la URL completa hasta el ?
|
19
|
-
source.src = source.src.split('?')[0]+'?'+Date.now().toString()
|
20
|
-
})
|
21
|
-
|
22
|
-
// Empezar la reproducción
|
23
|
-
element.load()
|
24
|
-
element.play()
|
25
|
-
}
|
26
|
-
|
27
|
-
// Este es el evento que espera a que cargue todo el sitio
|
28
|
-
document.addEventListener('turbolinks:load', () => {
|
29
|
-
const transmission = document.querySelector('#transmission')
|
30
|
-
|
31
|
-
if ('mediaSession' in navigator) {
|
32
|
-
navigator.mediaSession.metadata = new MediaMetadata({
|
33
|
-
title: "{{ radio.description | escape }}",
|
34
|
-
artist: "{{ radio.title | escape }}",
|
35
|
-
artwork: [
|
36
|
-
{
|
37
|
-
src: '{{ radio.logo.path | thumbnail: 192 }}',
|
38
|
-
sizes: '192x192',
|
39
|
-
type: 'image/{{ radio.logo.path | split: '.' | last }}'
|
40
|
-
},
|
41
|
-
],
|
42
|
-
})
|
43
|
-
|
44
|
-
navigator.mediaSession.setActionHandler('play', () => transmission.play())
|
45
|
-
navigator.mediaSession.setActionHandler('pause', () => transmission.pause())
|
46
|
-
}
|
47
|
-
|
48
|
-
// Volver a reproducir cuando se corte
|
49
|
-
// TODO: Agregar los tracks
|
50
|
-
transmission.addEventListener('ended', event => streaming(transmission))
|
51
|
-
|
52
|
-
document.querySelectorAll("a[href^='http://'],a[href^='https://'],a[href^='//']").forEach(a => {
|
53
|
-
a.rel = "noopener"
|
54
|
-
a.target = "_blank"
|
55
|
-
})
|
56
|
-
})
|
57
|
-
=======
|
58
|
-
const loadEvent = () => {
|
59
|
-
try {
|
60
|
-
if (Turbolinks) return 'turbolinks:load'
|
61
|
-
} catch {
|
62
|
-
return 'DOMContentLoaded'
|
63
|
-
}
|
64
|
-
}
|
65
|
-
|
66
|
-
document.addEventListener(loadEvent(), () => {
|
67
|
-
document.querySelectorAll('.share').forEach(share => {
|
68
|
-
share.addEventListener('click', event => {
|
69
|
-
if (!Navigator.share) return;
|
70
|
-
|
71
|
-
event.preventDefault();
|
72
|
-
event.stopPropagation();
|
73
|
-
|
74
|
-
const title = document.querySelector('title').text;
|
75
|
-
|
76
|
-
try {
|
77
|
-
const text = document.querySelector('meta[property="og:description"]').content;
|
78
|
-
} catch {
|
79
|
-
const text = '';
|
80
|
-
}
|
81
|
-
|
82
|
-
try {
|
83
|
-
const url = document.querySelector('link[rel=canonical]').href;
|
84
|
-
} catch {
|
85
|
-
const url = document.location.href;
|
86
|
-
}
|
87
|
-
|
88
|
-
const data = { title: title, text: text, url: url };
|
89
|
-
|
90
|
-
if (Navigator.canShare(data)) Navigator.share(data).then();
|
91
|
-
});
|
92
|
-
});
|
93
|
-
|
94
|
-
document.querySelectorAll("a[href^='http://'],a[href^='https://'],a[href^='//']").forEach(a => {
|
95
|
-
a.rel = "noopener";
|
96
|
-
a.target = "_blank";
|
97
|
-
});
|
98
|
-
});
|
99
|
-
>>>>>>> ae133915c865b686fcb7071e1cd2c8c580cb3b8c
|